Home
last modified time | relevance | path

Searched refs:MacroArgs (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/lib/Lex/
DMacroArgs.cpp25 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 …]
DCMakeLists.txt10 MacroArgs.cpp
DTokenLexer.cpp27 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/
DMacroArgs.h29 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();
DTokenLexer.h21 class MacroArgs; variable
38 MacroArgs *ActualArgs = nullptr;
109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer()
132 MacroArgs *Actuals);
DPPCallbacks.h29 class MacroArgs; variable
283 const MacroArgs *Args) {} in MacroExpands()
539 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/clang/lib/Lex/
DMacroArgs.cpp24 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 …]
DCMakeLists.txt11 MacroArgs.cpp
DTokenLexer.cpp39 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/
DMacroArgs.h29 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();
DTokenLexer.h23 class MacroArgs; variable
37 MacroArgs *ActualArgs;
110 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer()
120 MacroArgs *ActualArgs);
DPPCallbacks.h32 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/
DMacroRepeatedSideEffectsCheck.cpp27 SourceRange Range, const MacroArgs *Args) override;
43 const MacroArgs *Args) { in MacroExpands()
DLambdaFunctionNameCheck.cpp37 const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Lex/
DBUILD.gn14 "MacroArgs.cpp",
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DSetLongJmpCheck.cpp33 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.h36 SourceRange Range, const MacroArgs *Args) override;
DFindAllMacros.cpp49 const MacroArgs *Args) { in MacroExpands()
/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.h131 SourceRange Range, const MacroArgs *Args) override;
207 void appendArgument(const char *Name, const MacroArgs *Value);
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DAvoidUnderscoreInGoogletestNameCheck.cpp45 const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReplaceDisallowCopyAndAssignMacroCheck.cpp29 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/clang-tools-extra/clangd/
DCollectMacros.h56 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp405 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/
DLexerTest.cpp405 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/
DExpandModularHeadersPPCallbacks.h103 SourceRange Range, const MacroArgs *) override;

123