clang-tools
6.0.0
|
#include "IncludeOrderCheck.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include <map>
Go to the source code of this file.
Namespaces | |
clang | |
clang::tidy | |
clang::tidy::llvm | |
Functions | |
static int | clang::tidy::llvm::getPriority (StringRef Filename, bool IsAngled, bool IsMainModule) |
std::string Filename |
Filename as a string.
Definition at line 38 of file IncludeOrderCheck.cpp.
Referenced by clang::tidy::utils::HeaderGuardCheck::HeaderGuardCheck(), and clang::tidy::llvm::LLVMHeaderGuardCheck::shouldSuggestEndifComment().
bool IsAngled |
true if this was an include with angle brackets
Definition at line 39 of file IncludeOrderCheck.cpp.
Referenced by Modularize::PreprocessorTracker::create(), clang::tidy::utils::IncludeInserter::CreateIncludeInsertion(), clang::tidy::utils::IncludeSorter::current_FileID(), and clang::tidy::llvm::getPriority().
bool IsMainModule |
true if this was the first include in a file
Definition at line 40 of file IncludeOrderCheck.cpp.
SourceLocation Loc |
'#' location in the include directive
Definition at line 36 of file IncludeOrderCheck.cpp.
Referenced by clang::tidy::modernize::UseOverrideCheck::check(), clang::tidy::google::ExplicitConstructorCheck::check(), clang::tidy::misc::StringIntegerAssignmentCheck::check(), clang::tidy::bugprone::StringConstructorCheck::check(), clang::tidy::fuchsia::OverloadedOperatorCheck::check(), clang::tidy::readability::StaticDefinitionInAnonymousNamespaceCheck::check(), clang::tidy::readability::NamespaceCommentCheck::check(), clang::tidy::modernize::UnaryStaticAssertCheck::check(), clang::tidy::modernize::ReturnBracedInitListCheck::check(), clang::tidy::boost::UseToStringCheck::check(), clang::tidy::readability::SimplifyBooleanExprCheck::check(), clang::tidy::bugprone::InaccurateEraseCheck::check(), clang::tidy::mpi::TypeMismatchCheck::check(), clang::tidy::mpi::BufferDerefCheck::check(), clang::tidy::google::runtime::IntegerTypesCheck::check(), clang::tidy::google::build::UnnamedNamespaceInHeaderCheck::check(), clang::tidy::google::build::UsingNamespaceDirectiveCheck::check(), clang::tidy::readability::IdentifierNamingCheck::check(), clang::tidy::ClangTidyCheck::check(), Modularize::ModularizeUtilities::collectModuleHeaders(), clang::tidy::misc::exprEvaluatesToSymbolic(), clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit(), clang::tidy::misc::possibleVarDecl(), and CollectEntitiesVisitor::VisitNamedDecl().
CharSourceRange Range |
SourceRange for the file name.
Definition at line 37 of file IncludeOrderCheck.cpp.
Referenced by clang::replace::calculateChangedRanges(), clang::tidy::modernize::UseNoexceptCheck::check(), clang::tidy::modernize::RedundantVoidArgCheck::check(), clang::tidy::readability::IdentifierNamingCheck::check(), clang::tidy::readability::containsBoolLiteral(), clang::replace::deduplicate(), clang::tidy::readability::IdentifierNamingCheck::expandMacro(), and llvm::yaml::MappingTraits< FileFilter >::validate().