clang API Documentation
#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/ADT/SmallString.h"#include "llvm/Support/Path.h"#include "llvm/Support/raw_ostream.h"#include "clang/AST/BuiltinTypes.def"
Go to the source code of this file.
Defines | |
| #define | BUILTIN_TYPE(Id, SingletonId) |
| #define | PLACEHOLDER_TYPE(Id, SingletonId) case BuiltinType::Id: |
Functions | |
| static bool | printLoc (llvm::raw_ostream &OS, SourceLocation Loc, const SourceManager &SM, bool IncludeOffset) |
| #define BUILTIN_TYPE | ( | Id, | |
| SingletonId | |||
| ) |
| #define PLACEHOLDER_TYPE | ( | Id, | |
| SingletonId | |||
| ) | case BuiltinType::Id: |
| static bool printLoc | ( | llvm::raw_ostream & | OS, |
| SourceLocation | Loc, | ||
| const SourceManager & | SM, | ||
| bool | IncludeOffset | ||
| ) | [static] |
Definition at line 27 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().