clang 20.0.0git
Namespaces | Functions
QualTypeNames.cpp File Reference
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/GlobalDecl.h"
#include "clang/AST/Mangle.h"
#include "clang/AST/QualTypeNames.h"
#include <stdio.h>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::TypeName
 

Functions

static NestedNameSpecifier * clang::TypeName::createNestedNameSpecifier (const ASTContext &Ctx, const NamespaceDecl *Namesp, bool WithGlobalNsPrefix)
 Create a NestedNameSpecifier for Namesp and its enclosing scopes.
 
static NestedNameSpecifier * clang::TypeName::createNestedNameSpecifier (const ASTContext &Ctx, const TypeDecl *TD, bool FullyQualify, bool WithGlobalNsPrefix)
 Create a NestedNameSpecifier for TagDecl and its enclosing scopes.
 
static NestedNameSpecifier * clang::TypeName::createNestedNameSpecifierForScopeOf (const ASTContext &Ctx, const Decl *Decl, bool FullyQualified, bool WithGlobalNsPrefix)
 Create a nested name specifier for the declaring context of the type.
 
static NestedNameSpecifier * clang::TypeName::getFullyQualifiedNestedNameSpecifier (const ASTContext &Ctx, NestedNameSpecifier *Scope, bool WithGlobalNsPrefix)
 Return a fully qualified version of this name specifier.
 
static bool clang::TypeName::getFullyQualifiedTemplateName (const ASTContext &Ctx, TemplateName &TName, bool WithGlobalNsPrefix)
 
static bool clang::TypeName::getFullyQualifiedTemplateArgument (const ASTContext &Ctx, TemplateArgument &Arg, bool WithGlobalNsPrefix)
 
static const Typeclang::TypeName::getFullyQualifiedTemplateType (const ASTContext &Ctx, const Type *TypePtr, bool WithGlobalNsPrefix)
 
static NestedNameSpecifier * clang::TypeName::createOuterNNS (const ASTContext &Ctx, const Decl *D, bool FullyQualify, bool WithGlobalNsPrefix)
 
static NestedNameSpecifier * clang::TypeName::createNestedNameSpecifierForScopeOf (const ASTContext &Ctx, const Type *TypePtr, bool FullyQualified, bool WithGlobalNsPrefix)
 Create a nested name specifier for the declaring context of the type.
 
QualType clang::TypeName::getFullyQualifiedType (QualType QT, const ASTContext &Ctx, bool WithGlobalNsPrefix=false)
 Generates a QualType that can be used to name the same type if used at the end of the current translation unit.
 
std::string clang::TypeName::getFullyQualifiedName (QualType QT, const ASTContext &Ctx, const PrintingPolicy &Policy, bool WithGlobalNsPrefix=false)
 Get the fully qualified name for a type.