16 #ifndef LLVM_CLANG_LIB_FORMAT_TOKENANNOTATOR_H
17 #define LLVM_CLANG_LIB_FORMAT_TOKENANNOTATOR_H
47 assert(!Line.
Tokens.empty());
54 for (std::list<UnwrappedLineNode>::const_iterator
I = ++Line.
Tokens.begin(),
58 Current->
Next =
I->Tok;
60 Current = Current->
Next;
62 for (
const auto &Child : Node.
Children) {
72 for (
unsigned i = 0, e =
Children.size(); i != e; ++i) {
78 Current->
Role.reset();
79 Current = Current->
Next;
140 : Style(Style), Keywords(Keywords) {}
153 bool InFunctionDecl);
detail::InMemoryDirectory::const_iterator I
ArrayRef< FormatToken * > Tokens
This file contains the declaration of the UnwrappedLineParser, which turns a stream of tokens into Un...
ast_type_traits::DynTypedNode Node
detail::InMemoryDirectory::const_iterator E