clang: lib/Index/USRGeneration.cpp File Reference (original) (raw)

#include "[clang/Index/USRGeneration.h](USRGeneration%5F8h%5Fsource.html)"
#include "[clang/AST/ASTContext.h](ASTContext%5F8h%5Fsource.html)"
#include "[clang/AST/Attr.h](AST%5F2Attr%5F8h%5Fsource.html)"
#include "[clang/AST/DeclCXX.h](DeclCXX%5F8h%5Fsource.html)"
#include "[clang/AST/DeclTemplate.h](DeclTemplate%5F8h%5Fsource.html)"
#include "[clang/AST/DeclVisitor.h](DeclVisitor%5F8h%5Fsource.html)"
#include "[clang/AST/ODRHash.h](ODRHash%5F8h%5Fsource.html)"
#include "[clang/Lex/PreprocessingRecord.h](PreprocessingRecord%5F8h%5Fsource.html)"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
#include "clang/Basic/AArch64ACLETypes.def"
#include "clang/Basic/PPCTypes.def"
#include "clang/Basic/RISCVVTypes.def"
#include "clang/Basic/WebAssemblyReferenceTypes.def"
#include "clang/Basic/AMDGPUTypes.def"
#include "clang/Basic/HLSLIntangibleTypes.def"
#include "clang/AST/BuiltinTypes.def"

Go to the source code of this file.

Macros
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext)
#define SVE_TYPE(Name, Id, SingletonId)
#define PPC_VECTOR_TYPE(Name, Id, Size)
#define RVV_TYPE(Name, Id, SingletonId)
#define WASM_TYPE(Name, Id, SingletonId)
#define AMDGPU_TYPE(Name, Id, SingletonId, Width, Align)
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId)
#define BUILTIN_TYPE(Id, SingletonId)
#define PLACEHOLDER_TYPE(Id, SingletonId)
Functions
static bool printLoc (llvm::raw_ostream &OS, SourceLocation Loc, const SourceManager &SM, bool IncludeOffset)
static StringRef GetExternalSourceContainer (const NamedDecl *D)
static const ObjCCategoryDecl * getCategoryContext (const NamedDecl *D)
static void printQualifier (llvm::raw_ostream &Out, const LangOptions &LangOpts, NestedNameSpecifier NNS)
static void combineClassAndCategoryExtContainers (StringRef ClsSymDefinedIn, StringRef CatSymDefinedIn, raw_ostream &OS)

AMDGPU_TYPE

#define AMDGPU_TYPE ( Name,
Id,
SingletonId,
Width,
Align )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #Name; \

break;

BUILTIN_TYPE

#define BUILTIN_TYPE ( Id,
SingletonId )

EXT_OPAQUE_TYPE

#define EXT_OPAQUE_TYPE ( ExtType,
Id,
Ext )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #ExtType; break;

HLSL_INTANGIBLE_TYPE

#define HLSL_INTANGIBLE_TYPE ( Name,
Id,
SingletonId )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #Name; \

break;

IMAGE_TYPE

#define IMAGE_TYPE ( ImgType,
Id,
SingletonId,
Access,
Suffix )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #Suffix << "_" << #ImgType; break;

PLACEHOLDER_TYPE

#define PLACEHOLDER_TYPE ( Id,
SingletonId )

PPC_VECTOR_TYPE

#define PPC_VECTOR_TYPE ( Name,
Id,
Size )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #Name; break;

RVV_TYPE

#define RVV_TYPE ( Name,
Id,
SingletonId )

Value:

case BuiltinType::Id: \

Out << "@BT@" << Name; break;

SVE_TYPE

#define SVE_TYPE ( Name,
Id,
SingletonId )

Value:

case BuiltinType::Id: \

Out << "@BT@" << #Name; \

break;

WASM_TYPE

#define WASM_TYPE ( Name,
Id,
SingletonId )

combineClassAndCategoryExtContainers()

void combineClassAndCategoryExtContainers ( StringRef ClsSymDefinedIn, StringRef CatSymDefinedIn, raw_ostream & OS ) static

getCategoryContext()

GetExternalSourceContainer()

StringRef GetExternalSourceContainer ( const NamedDecl * D) static

printLoc()

printQualifier()