Home
last modified time | relevance | path

Searched refs:MacroDefinitions (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Lex/
DPreprocessingRecord.cpp323 MacroDefinitions[Macro] = Def; in RegisterMacroDefinition()
362 MacroDefinitions.find(MI); in findMacroDefinition()
363 if (Pos == MacroDefinitions.end()) in findMacroDefinition()
426 MacroDefinitions[MI] = Def; in MacroDefined()
431 MD.forAllDefinitions([&](MacroInfo *MI) { MacroDefinitions.erase(MI); }); in MacroUndefined()
485 + llvm::capacity_in_bytes(MacroDefinitions) in getTotalMemory()
/external/llvm-project/clang/lib/Lex/
DPreprocessingRecord.cpp346 MacroDefinitions[Macro] = Def; in RegisterMacroDefinition()
385 MacroDefinitions.find(MI); in findMacroDefinition()
386 if (Pos == MacroDefinitions.end()) in findMacroDefinition()
451 MacroDefinitions[MI] = Def; in MacroDefined()
457 MD.forAllDefinitions([&](MacroInfo *MI) { MacroDefinitions.erase(MI); }); in MacroUndefined()
512 + llvm::capacity_in_bytes(MacroDefinitions) in getTotalMemory()
/external/llvm-project/clang/unittests/Format/
DMacroExpanderTest.cpp16 create(const std::vector<std::string> &MacroDefinitions) { in create() argument
17 return std::make_unique<MacroExpander>(MacroDefinitions, in create()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h332 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; variable
/external/llvm-project/clang/include/clang/Lex/
DPreprocessingRecord.h355 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; variable
/external/llvm-project/clang/include/clang/Serialization/
DASTWriter.h336 serialization::PreprocessedEntityID> MacroDefinitions; variable
/external/clang/include/clang/Serialization/
DASTWriter.h302 serialization::PreprocessedEntityID> MacroDefinitions; variable
/external/clang/lib/Serialization/
DASTWriter.cpp2276 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2355 MacroDefinitions[MD] = NextPreprocessorEntityID; in WritePreprocessorDetail()
2367 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()
5630 assert(MacroDefinitions.find(MD) == MacroDefinitions.end()); in MacroDefinitionRead()
5631 MacroDefinitions[MD] = ID; in MacroDefinitionRead()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2312 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2396 MacroDefinitions[MD] = NextPreprocessorEntityID; in WritePreprocessorDetail()
2408 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()
5906 assert(MacroDefinitions.find(MD) == MacroDefinitions.end()); in MacroDefinitionRead()
5907 MacroDefinitions[MD] = ID; in MacroDefinitionRead()