/external/clang/lib/Lex/ |
D | MacroArgs.cpp | 25 MacroArgs *MacroArgs::create(const MacroInfo *MI, in create() 30 MacroArgs **ResultEnt = nullptr; in create() 35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create() 48 MacroArgs *Result; in create() 51 Result = (MacroArgs*)malloc(sizeof(MacroArgs) + in create() 54 new (Result) MacroArgs(UnexpArgTokens.size(), VarargsElided); in create() 73 void MacroArgs::destroy(Preprocessor &PP) { in destroy() 88 MacroArgs *MacroArgs::deallocate() { in deallocate() 89 MacroArgs *Next = ArgCache; in deallocate() 92 this->~MacroArgs(); in deallocate() [all …]
|
D | CMakeLists.txt | 10 MacroArgs.cpp
|
D | TokenLexer.cpp | 27 MacroArgs *Actuals) { in Init() 205 Res = MacroArgs::StringifyArgument(ActualArgs->getUnexpArgument(ArgNo), in ExpandFunctionArguments() 279 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() 318 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | MacroArgs.h | 29 class MacroArgs final 30 : private llvm::TrailingObjects<MacroArgs, Token> { 53 MacroArgs *ArgCache; 58 MacroArgs(unsigned NumToks, bool varargsElided, unsigned MacroArgs) in MacroArgs() function 60 ArgCache(nullptr), NumMacroArgs(MacroArgs) {} in MacroArgs() 61 ~MacroArgs() = default; 66 static MacroArgs *create(const MacroInfo *MI, 132 MacroArgs *deallocate();
|
D | TokenLexer.h | 21 class MacroArgs; variable 38 MacroArgs *ActualArgs = nullptr; 109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 132 MacroArgs *Actuals);
|
D | PPCallbacks.h | 29 class MacroArgs; variable 283 const MacroArgs *Args) {} in MacroExpands() 539 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang/lib/Lex/ |
D | MacroArgs.cpp | 24 MacroArgs *MacroArgs::create(const MacroInfo *MI, in create() 29 MacroArgs **ResultEnt = nullptr; in create() 34 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create() 47 MacroArgs *Result; in create() 53 MacroArgs(UnexpArgTokens.size(), VarargsElided, MI->getNumParams()); in create() 78 void MacroArgs::destroy(Preprocessor &PP) { in destroy() 91 MacroArgs *MacroArgs::deallocate() { in deallocate() 92 MacroArgs *Next = ArgCache; in deallocate() 95 this->~MacroArgs(); in deallocate() 108 unsigned MacroArgs::getArgLength(const Token *ArgPtr) { in getArgLength() [all …]
|
D | CMakeLists.txt | 11 MacroArgs.cpp
|
D | TokenLexer.cpp | 39 MacroArgs *Actuals) { in Init() 227 Token StringifiedVAOPT = MacroArgs::StringifyArgument( in stringifyVAOPTContents() 388 Token Res = MacroArgs::StringifyArgument( in ExpandFunctionArguments() 462 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() 513 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments()
|
/external/clang/include/clang/Lex/ |
D | MacroArgs.h | 29 class MacroArgs { 54 MacroArgs *ArgCache; 56 MacroArgs(unsigned NumToks, bool varargsElided) in MacroArgs() function 59 ~MacroArgs() = default; 64 static MacroArgs *create(const MacroInfo *MI, 122 MacroArgs *deallocate();
|
D | TokenLexer.h | 23 class MacroArgs; variable 37 MacroArgs *ActualArgs; 110 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 120 MacroArgs *ActualArgs);
|
D | PPCallbacks.h | 32 class MacroArgs; variable 244 const MacroArgs *Args) {} in MacroExpands() 439 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MacroRepeatedSideEffectsCheck.cpp | 27 SourceRange Range, const MacroArgs *Args) override; 43 const MacroArgs *Args) { in MacroExpands()
|
D | LambdaFunctionNameCheck.cpp | 37 const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Lex/ |
D | BUILD.gn | 14 "MacroArgs.cpp",
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | SetLongJmpCheck.cpp | 33 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | FindAllMacros.h | 36 SourceRange Range, const MacroArgs *Args) override;
|
D | FindAllMacros.cpp | 49 const MacroArgs *Args) { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.h | 131 SourceRange Range, const MacroArgs *Args) override; 207 void appendArgument(const char *Name, const MacroArgs *Value);
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidUnderscoreInGoogletestNameCheck.cpp | 45 const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ReplaceDisallowCopyAndAssignMacroCheck.cpp | 29 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CollectMacros.h | 56 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | PreprocessorTracker.cpp | 405 const clang::MacroArgs *Args) { in getMacroExpandedString() 431 ResultArgToks = &(const_cast<clang::MacroArgs *>(Args)) in getMacroExpandedString() 438 unsigned NumToks = clang::MacroArgs::getArgLength(ResultArgToks); in getMacroExpandedString() 748 const clang::MacroArgs *Args) override; 1314 const clang::MacroArgs *Args) { in MacroExpands()
|
/external/llvm-project/clang/unittests/Lex/ |
D | LexerTest.cpp | 405 auto MacroArgsDeleter = [&PP](MacroArgs *M) { M->destroy(*PP); }; in TEST_F() 406 std::unique_ptr<MacroArgs, decltype(MacroArgsDeleter)> MA( in TEST_F() 407 MacroArgs::create(MI, ArgTokens, false, *PP), MacroArgsDeleter); in TEST_F()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ExpandModularHeadersPPCallbacks.h | 103 SourceRange Range, const MacroArgs *) override;
|