|
clang
5.0.0
|
#include "clang/Index/USRGeneration.h"#include "clang/AST/ASTContext.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/DeclVisitor.h"#include "clang/Lex/PreprocessingRecord.h"#include "llvm/Support/Path.h"#include "llvm/Support/raw_ostream.h"#include "clang/AST/BuiltinTypes.def"#include "clang/Basic/OpenCLImageTypes.def"Go to the source code of this file.
Macros | |
| #define | BUILTIN_TYPE(Id, SingletonId) |
| #define | PLACEHOLDER_TYPE(Id, SingletonId) case BuiltinType::Id: |
| #define | IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) case BuiltinType::Id: |
Functions | |
| static bool | printLoc (llvm::raw_ostream &OS, SourceLocation Loc, const SourceManager &SM, bool IncludeOffset) |
| static StringRef | GetExternalSourceContainer (const NamedDecl *D) |
| static void | combineClassAndCategoryExtContainers (StringRef ClsSymDefinedIn, StringRef CatSymDefinedIn, raw_ostream &OS) |
| #define BUILTIN_TYPE | ( | Id, | |
| SingletonId | |||
| ) |
| #define IMAGE_TYPE | ( | ImgType, | |
| Id, | |||
| SingletonId, | |||
| Access, | |||
| Suffix | |||
| ) | case BuiltinType::Id: |
| #define PLACEHOLDER_TYPE | ( | Id, | |
| SingletonId | |||
| ) | case BuiltinType::Id: |
|
static |
Definition at line 919 of file USRGeneration.cpp.
|
static |
Definition at line 49 of file USRGeneration.cpp.
References clang::Decl::getExternalSourceSymbolAttr().
|
static |
Definition at line 26 of file USRGeneration.cpp.
References clang::SourceManager::getDecomposedLoc(), clang::SourceManager::getExpansionLoc(), clang::SourceManager::getFileEntryForID(), clang::FileEntry::getName(), and clang::SourceLocation::isInvalid().
Referenced by clang::index::generateUSRForMacro().
1.8.6