Home
last modified time | relevance | path

Searched refs:ReplacementTokens (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Lex/
DMacroInfo.cpp40 if (ReplacementTokens.empty()) in getDefinitionLengthSlow()
43 const Token &firstToken = ReplacementTokens.front(); in getDefinitionLengthSlow()
44 const Token &lastToken = ReplacementTokens.back(); in getDefinitionLengthSlow()
77 if (ReplacementTokens.size() != Other.ReplacementTokens.size() || in isIdenticalTo()
92 for (unsigned i = 0, e = ReplacementTokens.size(); i != e; ++i) { in isIdenticalTo()
93 const Token &A = ReplacementTokens[i]; in isIdenticalTo()
94 const Token &B = Other.ReplacementTokens[i]; in isIdenticalTo()
157 for (const Token &Tok : ReplacementTokens) { in dump()
/external/clang/include/clang/Lex/
DMacroInfo.h51 SmallVector<Token, 8> ReplacementTokens; variable
232 return ReplacementTokens.size(); in getNumTokens()
236 assert(Tok < ReplacementTokens.size() && "Invalid token #"); in getReplacementToken()
237 return ReplacementTokens[Tok]; in getReplacementToken()
241 tokens_iterator tokens_begin() const { return ReplacementTokens.begin(); } in tokens_begin()
242 tokens_iterator tokens_end() const { return ReplacementTokens.end(); } in tokens_end()
243 bool tokens_empty() const { return ReplacementTokens.empty(); } in tokens_empty()
249 ReplacementTokens.push_back(Tok); in AddTokenToBody()