Home
last modified time | relevance | path

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

/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()
DPPMacroExpansion.cpp440 MacroArgs *Args = nullptr; in HandleMacroExpandedIdentifier()
706 MacroArgs *Preprocessor::ReadFunctionLikeMacroArgs(Token &MacroName, in ReadFunctionLikeMacroArgs()
968 return MacroArgs::create(MI, ArgTokens, isVarargsElided, *this); in ReadFunctionLikeMacroArgs()
DPreprocessingRecord.cpp415 const MacroArgs *Args) { in MacroExpands()
DPPLexerChange.cpp163 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro()
DPreprocessor.cpp168 for (MacroArgs *ArgList = MacroArgCache; ArgList;) in ~Preprocessor()
/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()
DPreprocessor.h570 MacroArgs *MacroArgCache;
571 friend class MacroArgs; variable
1016 MacroArgs *Args);
1800 MacroArgs *ReadFunctionLikeMacroArgs(Token &MacroName, MacroInfo *MI,
DPreprocessingRecord.h490 SourceRange Range, const MacroArgs *Args) override;
/external/gflags/test/
Dgflags_unittest.cc646 TEST(MacroArgs, EvaluateOnce) { in TEST() argument
657 TEST(MacroArgs, EvaluateOnceBool) { in TEST() argument
666 TEST(MacroArgs, EvaluateOnceStrings) { in TEST() argument
/external/clang/unittests/Basic/
DSourceManagerTest.cpp270 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/clang/lib/ARCMigrate/
DARCMT.cpp442 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/external/clang/tools/libclang/
DIndexing.cpp269 SourceRange Range, const MacroArgs *Args) override {} in MacroExpands()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1329 const clang::MacroArgs* args) override { in MacroExpands()
/external/clang/lib/Serialization/
DASTReader.cpp1419 SmallVector<IdentifierInfo*, 16> MacroArgs; in ReadMacroRecord() local
1471 MacroArgs.clear(); in ReadMacroRecord()
1474 MacroArgs.push_back(getLocalIdentifier(F, Record[NextIndex++])); in ReadMacroRecord()
1481 MI->setArgumentList(MacroArgs, PP.getPreprocessorAllocator()); in ReadMacroRecord()