clang-tools  7.0.0svn
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
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 clang::tidy::llvm
 

Functions

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

Variable Documentation

◆ Filename

std::string Filename

◆ IsAngled

bool IsAngled

◆ IsMainModule

bool IsMainModule

true if this was the first include in a file

Definition at line 41 of file IncludeOrderCheck.cpp.

◆ Loc

SourceLocation Loc

'#' location in the include directive

Definition at line 37 of file IncludeOrderCheck.cpp.

Referenced by clang::tidy::modernize::UseOverrideCheck::check(), clang::tidy::google::ExplicitConstructorCheck::check(), clang::tidy::bugprone::StringConstructorCheck::check(), clang::tidy::bugprone::StringIntegerAssignmentCheck::check(), clang::tidy::fuchsia::OverloadedOperatorCheck::check(), clang::tidy::readability::StaticDefinitionInAnonymousNamespaceCheck::check(), clang::tidy::modernize::ReturnBracedInitListCheck::check(), clang::tidy::modernize::UnaryStaticAssertCheck::check(), clang::tidy::readability::NamespaceCommentCheck::check(), clang::tidy::readability::SimplifyBooleanExprCheck::check(), clang::tidy::boost::UseToStringCheck::check(), clang::tidy::bugprone::InaccurateEraseCheck::check(), clang::tidy::google::runtime::IntegerTypesCheck::check(), clang::tidy::mpi::BufferDerefCheck::check(), clang::tidy::mpi::TypeMismatchCheck::check(), clang::tidy::google::build::UnnamedNamespaceInHeaderCheck::check(), clang::tidy::google::build::UsingNamespaceDirectiveCheck::check(), clang::tidy::readability::IdentifierNamingCheck::check(), clang::tidy::ClangTidyCheck::check(), clang::doc::ClangDocBitcodeWriter::ClangDocBitcodeWriter(), Modularize::ModularizeUtilities::collectModuleHeaders(), clang::doc::SymbolInfo::merge(), clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit(), clang::tidy::bugprone::possibleVarDecl(), clang::tidy::fuchsia::RestrictedIncludesPPCallbacks::RestrictedIncludesPPCallbacks(), clang::include_fixer::IncludeFixerSemaSource::setFilePath(), clang::clangd::SymbolCollector::setPreprocessor(), and CollectEntitiesVisitor::VisitNamedDecl().

◆ Range

CharSourceRange Range