clang-tools  4.0.0
Namespaces | Functions
IncludeOrderCheck.cpp File Reference
#include "IncludeOrderCheck.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include <map>
Include dependency graph for IncludeOrderCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 -rename
 
 clang::tidy
 
 clang::tidy::llvm
 

Functions

static int clang::tidy::llvm::getPriority (StringRef Filename, bool IsAngled, bool IsMainModule)
 

Variable Documentation

ClangTidyCheck& Check

Definition at line 47 of file IncludeOrderCheck.cpp.

std::string Filename

Filename as a string.

Definition at line 38 of file IncludeOrderCheck.cpp.

Referenced by clang::replace::deleteReplacementFiles(), and clang::tidy::runClangTidy().

std::map<clang::FileID, FileIncludes> IncludeDirectives

Definition at line 44 of file IncludeOrderCheck.cpp.

bool IsAngled

true if this was an include with angle brackets

Definition at line 39 of file IncludeOrderCheck.cpp.

bool IsMainModule

true if this was the first include in a file

Definition at line 40 of file IncludeOrderCheck.cpp.

SourceLocation Loc
bool LookForMainModule

Definition at line 45 of file IncludeOrderCheck.cpp.

CharSourceRange Range
SourceManager& SM