clang
6.0.0
|
This file implements a token annotator, i.e. More...
#include "TokenAnnotator.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
clang::format | |
Macros | |
#define | DEBUG_TYPE "format-token-annotator" |
Functions | |
static unsigned | clang::format::maxNestingDepth (const AnnotatedLine &Line) |
static bool | clang::format::isFunctionDeclarationName (const FormatToken &Current, const AnnotatedLine &Line) |
static bool | clang::format::isAllmanBrace (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.
unsigned BindingStrength |
Definition at line 999 of file TokenAnnotator.cpp.
Definition at line 1007 of file TokenAnnotator.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotCondition().
Definition at line 1011 of file TokenAnnotator.cpp.
Definition at line 1003 of file TokenAnnotator.cpp.
Definition at line 1002 of file TokenAnnotator.cpp.
Definition at line 1004 of file TokenAnnotator.cpp.
tok::TokenKind ContextKind |
Definition at line 998 of file TokenAnnotator.cpp.
Referenced by clang::Sema::CodeCompleteTag(), and clang::Sema::getCurrentMangleNumberContext().
FormatToken* FirstObjCSelectorName = nullptr |
Definition at line 1005 of file TokenAnnotator.cpp.
FormatToken* FirstStartOfName = nullptr |
Definition at line 1006 of file TokenAnnotator.cpp.
Definition at line 1009 of file TokenAnnotator.cpp.
Definition at line 1010 of file TokenAnnotator.cpp.
Definition at line 1008 of file TokenAnnotator.cpp.
bool IsExpression |
Definition at line 1000 of file TokenAnnotator.cpp.
Definition at line 1012 of file TokenAnnotator.cpp.
unsigned LongestObjCSelectorName = 0 |
Definition at line 1001 of file TokenAnnotator.cpp.
AnnotatingParser& P |
Definition at line 1018 of file TokenAnnotator.cpp.