clang-tools
3.9.0
|
#include "HeaderGuard.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/Path.h"
Go to the source code of this file.
Namespaces | |
clang | |
-rename | |
clang::tidy | |
clang::tidy::utils | |
Functions | |
static std::string | clang::tidy::utils::cleanPath (StringRef Path) |
canonicalize a path by removing ./ and ../ components. More... | |
HeaderGuardCheck* Check |
Definition at line 266 of file HeaderGuard.cpp.
std::map<SourceLocation, SourceLocation> EndIfs |
Definition at line 263 of file HeaderGuard.cpp.
llvm::StringMap<const FileEntry *> Files |
Definition at line 260 of file HeaderGuard.cpp.
std::map<const IdentifierInfo *, std::pair<SourceLocation, SourceLocation> > Ifndefs |
Definition at line 262 of file HeaderGuard.cpp.
std::vector<std::pair<Token, const MacroInfo *> > Macros |
Definition at line 259 of file HeaderGuard.cpp.
Preprocessor* PP |
Definition at line 265 of file HeaderGuard.cpp.