/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 81 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init() argument 92 NumTokens = NumToks; in Init() 102 if (NumToks != 0) { in Init() 279 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() local 280 ResultToks.append(ResultArgToks, ResultArgToks+NumToks); in ExpandFunctionArguments() 286 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && in ExpandFunctionArguments() 318 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments() local 319 if (NumToks) { // Not an empty argument? in ExpandFunctionArguments() 332 ResultToks.append(ArgToks, ArgToks+NumToks); in ExpandFunctionArguments() 336 for (unsigned i = ResultToks.size() - NumToks, e = ResultToks.size(); in ExpandFunctionArguments() [all …]
|
D | PPLexerChange.cpp | 191 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() argument 199 Toks, Toks + NumToks); in EnterTokenStream() 208 EnterTokenStream(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream() 217 Toks, NumToks, DisableMacroExpansion, OwnsTokens, *this); in EnterTokenStream() 220 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
|
D | MacroArgs.cpp | 161 unsigned NumToks = getArgLength(AT)+1; // Include the EOF. in getPreExpArgument() local 167 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument()
|
/external/clang/include/clang/Lex/ |
D | TokenLexer.h | 125 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() argument 128 Init(TokArray, NumToks, DisableExpansion, ownsTokens); in TokenLexer() 136 void Init(const Token *TokArray, unsigned NumToks,
|
D | MacroArgs.h | 56 MacroArgs(unsigned NumToks, bool varargsElided) in MacroArgs() argument 57 : NumUnexpArgTokens(NumToks), VarargsElided(varargsElided), in MacroArgs()
|
D | Preprocessor.h | 1030 void EnterTokenStream(const Token *Toks, unsigned NumToks, 1034 void EnterTokenStream(std::unique_ptr<Token[]> Toks, unsigned NumToks, in EnterTokenStream() argument 1036 EnterTokenStream(Toks.release(), NumToks, DisableMacroExpansion, true); in EnterTokenStream()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | TokenLexer.h | 117 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() argument 120 Init(TokArray, NumToks, DisableExpansion, ownsTokens, isReinject); in TokenLexer() 139 void Init(const Token *TokArray, unsigned NumToks, bool DisableMacroExpansion,
|
D | MacroArgs.h | 58 MacroArgs(unsigned NumToks, bool varargsElided, unsigned MacroArgs) in MacroArgs() argument 59 : NumUnexpArgTokens(NumToks), VarargsElided(varargsElided), in MacroArgs()
|
D | Preprocessor.h | 1354 void EnterTokenStream(const Token *Toks, unsigned NumToks, 1359 void EnterTokenStream(std::unique_ptr<Token[]> Toks, unsigned NumToks, in EnterTokenStream() argument 1361 EnterTokenStream(Toks.release(), NumToks, DisableMacroExpansion, true, in EnterTokenStream()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenLexer.cpp | 94 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init() argument 108 NumTokens = NumToks; in Init() 118 if (NumToks != 0) { in Init() 462 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() local 463 ResultToks.append(ResultArgToks, ResultArgToks+NumToks); in ExpandFunctionArguments() 469 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && in ExpandFunctionArguments() 513 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments() local 514 if (NumToks) { // Not an empty argument? in ExpandFunctionArguments() 529 ResultToks.append(ArgToks, ArgToks+NumToks); in ExpandFunctionArguments() 533 for (Token &Tok : llvm::make_range(ResultToks.end() - NumToks, in ExpandFunctionArguments() [all …]
|
D | PPLexerChange.cpp | 153 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() argument 162 Toks, Toks + NumToks); in EnterTokenStream() 171 EnterTokenStream(Toks, NumToks, DisableMacroExpansion, OwnsTokens, in EnterTokenStream() 181 Toks, NumToks, DisableMacroExpansion, OwnsTokens, IsReinject, *this); in EnterTokenStream() 184 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens, in EnterTokenStream()
|
D | MacroArgs.cpp | 175 unsigned NumToks = getArgLength(AT)+1; // Include the EOF. in getPreExpArgument() local 181 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | PreprocessorTracker.cpp | 438 unsigned NumToks = clang::MacroArgs::getArgLength(ResultArgToks); in getMacroExpandedString() local 440 for (unsigned ArgumentIndex = 0; ArgumentIndex < NumToks; ++ArgumentIndex) { in getMacroExpandedString()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 258 for (unsigned i = 0, NumToks = Toks.size(); i != NumToks; ++i) { in SkipUntil() local
|
/external/llvm-project/clang/lib/Parse/ |
D | Parser.cpp | 284 for (unsigned i = 0, NumToks = Toks.size(); i != NumToks; ++i) { in SkipUntil() local
|