|
clang 22.0.0git
|
This file implements a token annotator, i.e. More...
#include "TokenAnnotator.h"#include "FormatToken.h"#include "clang/Basic/TokenKinds.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/Support/Debug.h"#include "clang/Basic/TransformTypeTraits.def"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::format |
Macros | |
| #define | DEBUG_TYPE "format-token-annotator" |
| #define | TRANSFORM_TYPE_TRAIT_DEF(_, Trait) |
Functions | |
| static bool | clang::format::mustBreakAfterAttributes (const FormatToken &Tok, const FormatStyle &Style) |
| static unsigned | clang::format::maxNestingDepth (const AnnotatedLine &Line) |
| static FormatToken * | clang::format::getFunctionName (const AnnotatedLine &Line, FormatToken *&OpeningParen) |
| static bool | clang::format::isCtorOrDtorName (const FormatToken *Tok) |
| static bool | clang::format::isFunctionDeclarationName (const LangOptions &LangOpts, const FormatToken &Current, const AnnotatedLine &Line, FormatToken *&ClosingParen) |
| static bool | clang::format::isAllmanBrace (const FormatToken &Tok) |
| static bool | clang::format::IsFunctionArgument (const FormatToken &Tok) |
| static bool | clang::format::isEmptyLambdaAllowed (const FormatToken &Tok, FormatStyle::ShortLambdaStyle ShortLambdaOption) |
| static bool | clang::format::isAllmanLambdaBrace (const FormatToken &Tok) |
This file implements a token annotator, i.e.
creates AnnotatedTokens out of FormatTokens with required extra information.
Definition in file TokenAnnotator.cpp.
| #define DEBUG_TYPE "format-token-annotator" |
Definition at line 21 of file TokenAnnotator.cpp.
| #define TRANSFORM_TYPE_TRAIT_DEF | ( | _, | |
| Trait ) |