Home
last modified time | relevance | path

Searched refs:RawTokens (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp47 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument
49 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
55 return RawTokens[CurTok++]; in GetNextRawTok()
62 std::vector<Token> &RawTokens) { in LexRawTokensFromMainFile() argument
83 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()
96 std::vector<Token> RawTokens; in RewriteMacrosInInput() local
97 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
99 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
129 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp48 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument
50 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
56 return RawTokens[CurTok++]; in GetNextRawTok()
63 std::vector<Token> &RawTokens) { in LexRawTokensFromMainFile() argument
84 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()
97 std::vector<Token> RawTokens; in RewriteMacrosInInput() local
98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
100 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
130 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()
[all …]
/external/rust/crates/bindgen/src/
Dclang.rs704 pub fn tokens(&self) -> RawTokens { in tokens() argument
705 RawTokens::new(self) in tokens()
732 pub struct RawTokens<'a> { struct
739 impl<'a> RawTokens<'a> { argument
770 impl<'a> Drop for RawTokens<'a> { implementation