/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 34 class MacroInfo { 115 MacroInfo(SourceLocation DefLoc); 116 ~MacroInfo() = default; 142 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, 368 inline MacroInfo *getMacroInfo(); 369 const MacroInfo *getMacroInfo() const { in getMacroInfo() 403 const MacroInfo *getMacroInfo() const { in getMacroInfo() 406 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() 419 MacroInfo *Info; 422 DefMacroDirective(MacroInfo *MI, SourceLocation Loc) in DefMacroDirective() [all …]
|
D | TokenLexer.h | 20 class MacroInfo; variable 33 MacroInfo *Macro; 109 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, in TokenLexer() 119 void Init(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, 197 MacroInfo *Macro, unsigned MacroArgNo,
|
D | CodeCompletionHandler.h | 20 class MacroInfo; variable 60 MacroInfo *MacroInfo, in CodeCompleteMacroArgument() argument
|
D | MacroArgs.h | 23 class MacroInfo; variable 64 static MacroArgs *create(const MacroInfo *MI, 89 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
|
D | Preprocessor.h | 575 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> > PragmaPushMacroInfo; 636 MacroInfo MI; 645 MacroInfo MI; 858 const MacroInfo *getMacroInfo(const IdentifierInfo *II) const { in getMacroInfo() 862 MacroInfo *getMacroInfo(const IdentifierInfo *II) { in getMacroInfo() 879 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective() 886 MacroInfo *MI) { in appendDefMacroDirective() 893 ModuleMacro *addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro, 1015 void EnterMacro(Token &Identifier, SourceLocation ILEnd, MacroInfo *Macro, 1491 void DumpMacro(const MacroInfo &MI) const; [all …]
|
D | PreprocessingRecord.h | 30 class MacroInfo; variable 332 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; 363 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinitionRecord *Def); 481 MacroDefinitionRecord *findMacroDefinition(const MacroInfo *MI); 509 void addMacroExpansion(const Token &Id, const MacroInfo *MI,
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 32 class MacroInfo; variable 105 MacroInfo *getMacroInfo(const IdentifierInfo &II, 109 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef, 115 MacroDefinitionRecord *checkForMacroInMacroDefinition(const MacroInfo *MI, 122 MacroDefinitionRecord *checkForMacroInMacroDefinition(const MacroInfo *MI,
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 18 MacroInfo::MacroInfo(SourceLocation DefLoc) in MacroInfo() function in MacroInfo 36 unsigned MacroInfo::getDefinitionLengthSlow(SourceManager &SM) const { in getDefinitionLengthSlow() 72 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, in isIdenticalTo() 129 LLVM_DUMP_METHOD void MacroInfo::dump() const { in dump() 239 IdentifierInfo *II, MacroInfo *Macro, in create()
|
D | PreprocessingRecord.cpp | 321 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro, in RegisterMacroDefinition() 360 PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) { in findMacroDefinition() 361 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *>::iterator Pos = in findMacroDefinition() 370 const MacroInfo *MI, in addMacroExpansion() 421 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined() 431 MD.forAllDefinitions([&](MacroInfo *MI) { MacroDefinitions.erase(MI); }); in MacroUndefined()
|
D | PPDirectives.cpp | 41 MacroInfo *Preprocessor::AllocateMacroInfo() { in AllocateMacroInfo() 48 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 49 MacroInfo *MI = AllocateMacroInfo(); in AllocateMacroInfo() 50 new (MI) MacroInfo(L); in AllocateMacroInfo() 54 MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, in AllocateDeserializedMacroInfo() 56 static_assert(llvm::AlignOf<MacroInfo>::Alignment >= sizeof(SubModuleID), in AllocateDeserializedMacroInfo() 63 MacroInfo *MI = &MIChain->MI; in AllocateDeserializedMacroInfo() 64 new (MI) MacroInfo(L); in AllocateDeserializedMacroInfo() 70 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 2127 bool Preprocessor::ReadMacroDefinitionArgList(MacroInfo *MI, Token &Tok) { in ReadMacroDefinitionArgList() [all …]
|
D | PPMacroExpansion.cpp | 84 MacroInfo *Macro, in addModuleMacro() 178 MacroInfo *MI = nullptr; in updateModuleMacroInfo() 283 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); in RegisterBuiltinMacro() 342 static bool isTrivialSingleTokenExpansion(const MacroInfo *MI, in isTrivialSingleTokenExpansion() 421 MacroInfo *MI = M.getMacroInfo(); in HandleMacroExpandedIdentifier() 500 M.forAllDefinitions([&](const MacroInfo *OtherMI) { in HandleMacroExpandedIdentifier() 553 if (MacroInfo *NewMI = getMacroInfo(NewII)) in HandleMacroExpandedIdentifier() 707 MacroInfo *MI, in ReadFunctionLikeMacroArgs() 799 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs() 1852 void Preprocessor::markMacroAsUsed(MacroInfo *MI) { in markMacroAsUsed()
|
D | CMakeLists.txt | 11 MacroInfo.cpp
|
D | MacroArgs.cpp | 25 MacroArgs *MacroArgs::create(const MacroInfo *MI, in create() 147 MacroArgs::getPreExpArgument(unsigned Arg, const MacroInfo *MI, in getPreExpArgument()
|
D | PPLexerChange.cpp | 163 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() 306 if (MacroInfo *MI = in HandleEndOfFile() 763 MacroInfo *Def = nullptr; in LeaveSubmodule()
|
D | Pragma.cpp | 569 MacroInfo *MI = getMacroInfo(IdentInfo); in HandlePragmaPushMacro() 594 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> >::iterator iter = in HandlePragmaPopMacro() 598 if (MacroInfo *MI = getMacroInfo(IdentInfo)) { in HandlePragmaPopMacro() 605 MacroInfo *MacroToReInstall = iter->second.back(); in HandlePragmaPopMacro()
|
D | TokenLexer.cpp | 26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init() 122 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs()
|
D | Preprocessor.cpp | 242 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 328 static bool MacroDefinitionEquals(const MacroInfo *MI, in MacroDefinitionEquals()
|
/external/clang/include/clang/Serialization/ |
D | ASTDeserializationListener.h | 27 class MacroInfo; variable 41 virtual void MacroRead(serialization::MacroID ID, MacroInfo *MI) { } in MacroRead()
|
D | ASTWriter.h | 56 class MacroInfo; variable 252 llvm::DenseMap<MacroInfo *, serialization::MacroID> MacroIDs; 256 MacroInfo *MI; 548 serialization::MacroID getMacroRef(MacroInfo *MI, const IdentifierInfo *Name); 551 serialization::MacroID getMacroID(MacroInfo *MI); 662 void MacroRead(serialization::MacroID ID, MacroInfo *MI) override;
|
D | ASTReader.h | 577 std::vector<MacroInfo *> MacrosLoaded; 1876 MacroInfo *getMacro(serialization::MacroID ID); 2069 MacroInfo *ReadMacroRecord(ModuleFile &F, uint64_t Offset);
|
/external/clang/include/clang/Index/ |
D | IndexDataConsumer.h | 22 class MacroInfo; variable 47 const MacroInfo *MI, SymbolRoleSet Roles,
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | TemplateTranslator.java | 126 private static class MacroInfo { class in TemplateTranslator 141 private final Map<String, MacroInfo> macroMap = new HashMap<String, MacroInfo>(); 148 private final Queue<MacroInfo> macroQueue = new LinkedList<MacroInfo>(); 162 MacroInfo info = new MacroInfo(); in addMacro() 213 MacroInfo curr = macroQueue.remove(); in caseStart() 731 MacroInfo macroInfo = macroMap.get(name); in caseACallCommand()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 35 static void PrintMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI, in PrintMacroDefinition() 42 MacroInfo::arg_iterator AI = MI.arg_begin(), E = MI.arg_end(); in PrintMacroDefinition() 363 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined() 702 typedef std::pair<const IdentifierInfo *, MacroInfo *> id_macro_pair; 729 MacroInfo &MI = *MacrosByID[i].second; in DoPrintMacros()
|
D | MultiplexConsumer.cpp | 36 void MacroRead(serialization::MacroID ID, MacroInfo *MI) override; 66 serialization::MacroID ID, MacroInfo *MI) { in MacroRead()
|
/external/clang/lib/Index/ |
D | IndexingAction.cpp | 30 const MacroInfo *MI, SymbolRoleSet Roles, in handleMacroOccurence()
|