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()
158 for (const Token &Tok : ReplacementTokens) { in dump()
/external/clang/include/clang/Lex/
DMacroInfo.h55 SmallVector<Token, 8> ReplacementTokens; variable
231 unsigned getNumTokens() const { return ReplacementTokens.size(); } in getNumTokens()
234 assert(Tok < ReplacementTokens.size() && "Invalid token #"); in getReplacementToken()
235 return ReplacementTokens[Tok]; in getReplacementToken()
239 tokens_iterator tokens_begin() const { return ReplacementTokens.begin(); } in tokens_begin()
240 tokens_iterator tokens_end() const { return ReplacementTokens.end(); } in tokens_end()
241 bool tokens_empty() const { return ReplacementTokens.empty(); } in tokens_empty()
242 ArrayRef<Token> tokens() const { return ReplacementTokens; } in tokens()
249 ReplacementTokens.push_back(Tok); in AddTokenToBody()