clang-tools  3.9.0
Namespaces | Functions
HeaderGuard.cpp File Reference
#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"
Include dependency graph for HeaderGuard.cpp:

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...
 

Variable Documentation

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.