clang 17.0.0git
|
#include "UnwrappedLineFormatter.h"
#include "FormatToken.h"
#include "NamespaceEndCommentsFixer.h"
#include "WhitespaceManager.h"
#include "llvm/Support/Debug.h"
#include <queue>
Go to the source code of this file.
Namespaces | |
namespace | clang |
namespace | clang::format |
Macros | |
#define | DEBUG_TYPE "format-formatter" |
Functions | |
static auto | clang::format::newlinesBeforeLine (const AnnotatedLine &Line, const AnnotatedLine *PreviousLine, const AnnotatedLine *PrevPrevLine, const SmallVectorImpl< AnnotatedLine * > &Lines, const FormatStyle &Style) |
#define DEBUG_TYPE "format-formatter" |
Definition at line 16 of file UnwrappedLineFormatter.cpp.
|
protected |
Definition at line 1050 of file UnwrappedLineFormatter.cpp.
Referenced by clang::format::CommaSeparatedList::CommaSeparatedList(), clang::format::UnwrappedLineFormatter::format(), clang::format::CommaSeparatedList::formatAfterToken(), and clang::format::UnwrappedLineFormatter::UnwrappedLineFormatter().
bool NewLine |
Definition at line 1154 of file UnwrappedLineFormatter.cpp.
Referenced by clang::format::CommaSeparatedList::formatAfterToken(), and clang::ento::CheckerManager::runCheckersForPrintStateJson().
StateNode* Previous |
Definition at line 1155 of file UnwrappedLineFormatter.cpp.
Referenced by clang::Sema::ActOnAliasDeclaration(), clang::Sema::ActOnConceptDefinition(), clang::Sema::ActOnDecompositionDeclarator(), clang::Sema::ActOnDuplicateODRHashDefinition(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnOMPIteratorExpr(), clang::Sema::ActOnStartCategoryInterface(), clang::Sema::ActOnTag(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnTypedefNameDecl(), clang::Sema::ActOnVariableDeclarator(), AddInitializerToDiag(), clang::Sema::addMethodToGlobalList(), clang::format::ContinuationIndenter::addTokenToState(), clang::format::AlignTokenSequence(), AllowOverloadingOfFunction(), clang::format::LeftRightQualifierAlignmentFixer::analyzeLeft(), clang::ASTDeclReader::attachPreviousDecl(), clang::ASTDeclReader::attachPreviousDeclImpl(), clang::driver::Driver::BuildInputs(), clang::Sema::BuildUsingDeclaration(), clang::Sema::BuildUsingEnumDeclaration(), clang::Sema::BuildVariableInstantiation(), clang::format::ContinuationIndenter::canBreak(), clang::Sema::CheckClassTemplate(), clang::Sema::CheckConceptRedefinition(), clang::Sema::checkCUDATargetOverload(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), checkForConflictWithNonVisibleExternC(), clang::Sema::CheckFunctionDeclaration(), clang::Sema::CheckFunctionTemplateSpecialization(), checkGlobalOrExternCConflict(), clang::Sema::CheckMemberSpecialization(), CheckMultiVersionAdditionalDecl(), CheckMultiVersionFunction(), CheckTargetCausesMultiVersioning(), clang::Sema::CheckUsingShadowDecl(), clang::Sema::CheckVariableDeclaration(), clang::format::continuesLineComment(), DiagnoseInvalidRedeclaration(), filterNonConflictingPreviousTypedefDecls(), clang::Sema::FilterUsingLookup(), clang::Sema::HandleDeclarator(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), clang::format::hasNestedBlockInlined(), clang::Sema::isAcceptableTagRedeclaration(), clang::Sema::maybeAddCUDAHostDeviceAttrs(), clang::ASTDeclReader::mergeInheritableAttributes(), mergeTypeWithPrevious(), clang::Sema::MergeVarDecl(), clang::format::ContinuationIndenter::mustBreak(), PrintDifference(), clang::format::startsNextParameter(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), and clang::dataflow::DataflowAnalysis< Derived, LatticeT >::widenTypeErased().
LineState State |
Definition at line 1153 of file UnwrappedLineFormatter.cpp.