clang-tools 19.0.0git
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 "llvm/ADT/STLExtras.h"
#include <map>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 
namespace  clang::tidy::llvm_check
 

Functions

static int clang::tidy::llvm_check::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.

Referenced by clang::tidy::llvm_check::getPriority().

◆ Loc

SourceLocation Loc

'#' location in the include directive

Definition at line 37 of file IncludeOrderCheck.cpp.

◆ Range

CharSourceRange Range

SourceRange for the file name.

Definition at line 38 of file IncludeOrderCheck.cpp.

Referenced by clang::tidy::readability::applyJaroWinklerHeuristic(), clang::tidy::utils::TransformerClangTidyCheck::check(), clang::tidy::abseil::FasterStrsplitDelimiterCheck::check(), clang::tidy::bugprone::ReturnConstRefFromParameterCheck::check(), clang::tidy::bugprone::VirtualNearMissCheck::check(), clang::tidy::modernize::MacroToEnumCheck::check(), clang::tidy::modernize::ReplaceAutoPtrCheck::check(), clang::tidy::modernize::UseNoexceptCheck::check(), clang::tidy::modernize::UseStdNumbersCheck::check(), clang::tidy::readability::QualifiedAutoCheck::check(), clang::tidy::RenamerClangTidyCheck::checkMacro(), clang::tidy::readability::collectSourceRanges(), clang::include_fixer::IncludeFixerSemaSource::CorrectTypo(), clang::pp_trace::PPCallbacksTracker::Defined(), llvm::yaml::SequenceTraits< FileFilter::LineRange >::element(), clang::tidy::modernize::empty(), clang::tidy::RenamerClangTidyCheck::expandMacro(), clang::tidy::bugprone::getCommentsInRange(), clang::tidy::readability::getFullInitRangeInclWhitespaces(), clang::tidy::readability::getLocationOfConst(), Modularize::getMacroUnexpandedString(), clang::tidy::utils::lexer::getQualifyingToken(), clang::tidy::modernize::getRawStringRef(), clang::pp_trace::PPCallbacksTracker::getSourceString(), Modularize::getSourceString(), clang::tidy::modernize::getStringFromRange(), clang::tidy::readability::getStringFromRange(), clang::find_all_symbols::PragmaCommentHandler::HandleComment(), clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::HandleComment(), clang::tidy::misc::MisleadingBidirectionalCheck::MisleadingBidirectionalHandler::HandleComment(), clang::tidy::abseil::insideMacroDefinition(), clang::tidy::modernize::MacroToEnumCallbacks::invalidateRange(), clang::tidy::modernize::isValid(), clang::pp_trace::PPCallbacksTracker::MacroExpands(), MATCHER_P(), clang::tidy::modernize::parseTokens(), clang::tidy::utils::rangeCanBeFixed(), clang::tidy::utils::lexer::rangeContainsExpansionsOrDirectives(), clang::tidy::utils::rangeContainsMacroExpansion(), clang::tidy::utils::rangeIsEntirelyWithinMacroArgument(), llvm::yaml::SequenceTraits< FileFilter::LineRange >::size(), clang::pp_trace::PPCallbacksTracker::SourceRangeSkipped(), and llvm::yaml::MappingTraits< FileFilter >::validate().