clang  13.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
 Dataflow Directional Tag Classes.
 
 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

Definition at line 69 of file UsingDeclarationsSorter.cpp.

Referenced by Accumulate(), clang::NodeStreamer::AddChild(), clang::TextTreeStructure::AddChild(), clang::AddrLabelExpr::AddrLabelExpr(), CheckLists(), clang::LabelDecl::classofKind(), clang::LinkageComputer::computeLVForDecl(), clang::TextNodeDumper::dumpDeclRef(), clang::ASTNodeTraverser< ASTDumper, TextNodeDumper >::dumpTemplateArgumentLoc(), clang::CodeGen::CodeGenFunction::EmitDecl(), clang::interp::ByteCodeEmitter::emitLabel(), clang::interp::EvalEmitter::emitLabel(), clang::interp::ByteCodeEmitter::fallthrough(), clang::interp::EvalEmitter::fallthrough(), clang::Decl::getIdentifierNamespaceForKind(), clang::GotoStmt::getLabel(), clang::AddrLabelExpr::getLabel(), clang::Sema::GetOrCreateMSAsmLabel(), clang::ento::loc::GotoLabel::GotoLabel(), clang::GotoStmt::GotoStmt(), clang::serialization::isRedeclarableDeclKind(), clang::Expr::isUnusedResultAWarning(), clang::interp::ByteCodeEmitter::jump(), clang::interp::EvalEmitter::jump(), clang::interp::ByteCodeEmitter::jumpFalse(), clang::interp::EvalEmitter::jumpFalse(), clang::interp::ByteCodeEmitter::jumpTrue(), clang::interp::EvalEmitter::jumpTrue(), clang::ProgramPoint::printJson(), clang::TreeTransform< Derived >::RebuildAddrLabelExpr(), clang::TreeTransform< Derived >::RebuildGotoStmt(), clang::Sema::PragmaStack< MSVtorDispMode >::SentinelAction(), clang::GotoStmt::setLabel(), clang::AddrLabelExpr::setLabel(), clang::TextNodeDumper::Visit(), and clang::JSONNodeDumper::Visit().

◆ Line

const AnnotatedLine* Line

Definition at line 68 of file UsingDeclarationsSorter.cpp.

Referenced by clang::format::TokenAnnotator::annotate(), clang::format::TokenAnnotator::calculateFormattingInformation(), clang::ASTUnit::CodeComplete(), clang::format::AffectedRangeManager::computeAffectedLines(), clang::format::continuesLineCommentSection(), clang::CompilerInstance::createCodeCompletionConsumer(), clang::CodeGen::CGOpenMPRuntime::createOffloadEntriesAndInfoMetadata(), clang::CodeGen::CGDebugInfo::CreateTempMacroFile(), DetectDistro(), DetectLsbRelease(), DetectOsRelease(), clang::CodeGen::CodeGenFunction::EmitCheckSourceLocation(), clang::CodeGen::CGOpenMPRuntime::emitDeclareTargetVarDefinition(), emitMappingInformation(), 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::Lexer::getIndentationForLine(), clang::format::ContinuationIndenter::getInitialState(), clang::ASTUnit::getLocation(), GetNthLineOfFile(), clang::format::BreakableBlockComment::getSplitAfterLastLine(), clang::format::isGoogScope(), clang::LayoutOverrideSource::LayoutOverrideSource(), clang::tooling::FixedCompilationDatabase::loadFromBuffer(), clang::format::maxNestingDepth(), clang::cross_tu::parseCrossTUIndex(), clang::comments::Parser::parseVerbatimBlock(), populateExecutedLinesWithFunctionSignature(), clang::format::printDebugInfo(), clang::CodeGen::CGOpenMPRuntime::registerTargetFirstprivateCopy(), clang::SourceManager::translateFileLineCol(), clang::SourceManager::translateLineCol(), and clang::BackendConsumer::UnsupportedDiagHandler().