clang  15.0.0git
Namespaces | Macros
UsingDeclarationsSorter.cpp File Reference
#include "UsingDeclarationsSorter.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Regex.h"
#include <algorithm>
Include dependency graph for UsingDeclarationsSorter.cpp:

Go to the source code of this file.

Namespaces

 clang
 
 clang::format
 

Macros

#define DEBUG_TYPE   "using-declarations-sorter"
 

Detailed Description

This file implements UsingDeclarationsSorter, a TokenAnalyzer that sorts consecutive using declarations.

Definition in file UsingDeclarationsSorter.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "using-declarations-sorter"

Definition at line 21 of file UsingDeclarationsSorter.cpp.

Variable Documentation

◆ Label

std::string Label

◆ Line

const AnnotatedLine* Line

Definition at line 68 of file UsingDeclarationsSorter.cpp.

Referenced by clang::format::TokenAnnotator::annotate(), clang::format::TokenAnnotator::calculateFormattingInformation(), clang::format::AffectedRangeManager::computeAffectedLines(), clang::format::continuesLineCommentSection(), clang::CompilerInstance::createCodeCompletionConsumer(), clang::CodeGen::CGOpenMPRuntime::createOffloadEntriesAndInfoMetadata(), clang::CodeGen::CGDebugInfo::CreateTempMacroFile(), DetectDistro(), DetectLsbRelease(), DetectOsRelease(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCheckSourceLocation(), clang::CodeGen::CGOpenMPRuntime::emitDeclareTargetVarDefinition(), clang::BackendConsumer::EmitOptimizationMessage(), clang::CodeGen::CGOpenMPRuntime::emitTargetOutlinedFunctionHelper(), clang::CodeGen::CGOpenMPRuntime::emitUpdateLocation(), EnableCodeCompletion(), clang::LineEntry::get(), clang::CodeGen::CGOpenMPRuntime::getAddrOfDeclareTargetVar(), clang::BackendConsumer::getBestLocationFromDebugLoc(), clang::RawCommentList::getCommentBeginLine(), clang::RawComment::getFormattedText(), clang::Lexer::getIndentationForLine(), clang::format::ContinuationIndenter::getInitialState(), clang::format::getLastNonComment(), clang::ASTUnit::getLocation(), GetNthLineOfFile(), clang::format::BreakableBlockComment::getSplitAfterLastLine(), clang::format::isGoogScope(), clang::LayoutOverrideSource::LayoutOverrideSource(), clang::tooling::FixedCompilationDatabase::loadFromBuffer(), clang::format::maxNestingDepth(), clang::BackendConsumer::MisExpectDiagHandler(), clang::cross_tu::parseCrossTUIndex(), clang::comments::Parser::parseVerbatimBlock(), populateExecutedLinesWithFunctionSignature(), clang::format::printDebugInfo(), clang::format::TokenAnnotator::setCommentLineLevels(), clang::SourceManager::translateFileLineCol(), clang::SourceManager::translateLineCol(), and clang::BackendConsumer::UnsupportedDiagHandler().