/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 30 class MacroInfo { 111 MacroInfo(SourceLocation DefLoc); 112 ~MacroInfo() = default; 138 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, 434 inline MacroInfo *getMacroInfo(); 435 const MacroInfo *getMacroInfo() const { in getMacroInfo() 469 const MacroInfo *getMacroInfo() const { in getMacroInfo() 472 MacroInfo *getMacroInfo() { in getMacroInfo() 487 MacroInfo *Info; 490 explicit DefMacroDirective(MacroInfo *MI) 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 | 22 class MacroInfo; variable 64 static MacroArgs *create(const MacroInfo *MI, 89 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
|
D | Preprocessor.h | 391 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> > PragmaPushMacroInfo; 452 MacroInfo MI; 461 MacroInfo MI; 615 const MacroInfo *getMacroInfo(IdentifierInfo *II) const { in getMacroInfo() 619 MacroInfo *getMacroInfo(IdentifierInfo *II) { in getMacroInfo() 634 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective() 643 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI){ in appendDefMacroDirective() 755 void EnterMacro(Token &Identifier, SourceLocation ILEnd, MacroInfo *Macro, 1190 void DumpMacro(const MacroInfo &MI) const; 1323 MacroInfo *AllocateMacroInfo(SourceLocation L); [all …]
|
D | PreprocessingRecord.h | 30 class MacroInfo; variable 333 llvm::DenseMap<const MacroInfo *, MacroDefinition *> MacroDefinitions; 364 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinition *Def); 482 MacroDefinition *findMacroDefinition(const MacroInfo *MI); 510 void addMacroExpansion(const Token &Id, const MacroInfo *MI,
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 29 class MacroInfo; variable 94 MacroInfo *getMacroInfo(const IdentifierInfo &II, 99 const MacroInfo *getMacroInfo(const MacroDefinition *MacroDef, 105 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI, 112 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
|
D | CXCursor.cpp | 1297 const IdentifierInfo *MacroInfo = definition->getName(); in clang_getCursorCompletionString() local 1299 CodeCompletionResult Result(MacroInfo); in clang_getCursorCompletionString()
|
/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 void MacroInfo::dump() const { in dump()
|
D | PreprocessingRecord.cpp | 320 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro, in RegisterMacroDefinition() 358 MacroDefinition *PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) { in findMacroDefinition() 359 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos in findMacroDefinition() 368 const MacroInfo *MI, in addMacroExpansion() 419 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined()
|
D | PPDirectives.cpp | 36 MacroInfo *Preprocessor::AllocateMacroInfo() { in AllocateMacroInfo() 43 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 44 MacroInfo *MI = AllocateMacroInfo(); in AllocateMacroInfo() 45 new (MI) MacroInfo(L); in AllocateMacroInfo() 49 MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, in AllocateDeserializedMacroInfo() 51 static_assert(llvm::AlignOf<MacroInfo>::Alignment >= sizeof(SubModuleID), in AllocateDeserializedMacroInfo() 58 MacroInfo *MI = &MIChain->MI; in AllocateDeserializedMacroInfo() 59 new (MI) MacroInfo(L); in AllocateDeserializedMacroInfo() 66 Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, SourceLocation Loc, in AllocateDefMacroDirective() 1887 bool Preprocessor::ReadMacroDefinitionArgList(MacroInfo *MI, Token &Tok) { in ReadMacroDefinitionArgList() [all …]
|
D | CMakeLists.txt | 11 MacroInfo.cpp
|
D | Android.mk | 15 MacroInfo.cpp \
|
D | MacroArgs.cpp | 25 MacroArgs *MacroArgs::create(const MacroInfo *MI, in create() 148 MacroArgs::getPreExpArgument(unsigned Arg, const MacroInfo *MI, in getPreExpArgument()
|
D | PPMacroExpansion.cpp | 82 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); in RegisterBuiltinMacro() 144 static bool isTrivialSingleTokenExpansion(const MacroInfo *MI, in isTrivialSingleTokenExpansion() 170 for (MacroInfo::arg_iterator I = MI->arg_begin(), E = MI->arg_end(); in isTrivialSingleTokenExpansion() 228 MacroInfo *MI = Def.getMacroInfo(); in HandleMacroExpandedIdentifier() 364 if (MacroInfo *NewMI = getMacroInfo(NewII)) in HandleMacroExpandedIdentifier() 520 MacroInfo *MI, in ReadFunctionLikeMacroArgs() 608 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs() 1582 void Preprocessor::markMacroAsUsed(MacroInfo *MI) { in markMacroAsUsed()
|
D | Preprocessor.cpp | 233 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 311 static bool MacroDefinitionEquals(const MacroInfo *MI, in MacroDefinitionEquals() 626 MacroInfo *MI = MD->getMacroInfo(); in HandleIdentifier()
|
D | PPLexerChange.cpp | 162 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() 306 if (MacroInfo *MI = in HandleEndOfFile()
|
D | Pragma.cpp | 564 MacroInfo *MI = getMacroInfo(IdentInfo); in HandlePragmaPushMacro() 589 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> >::iterator iter = in HandlePragmaPopMacro() 594 MacroInfo *MI = CurrentMD->getMacroInfo(); in HandlePragmaPopMacro() 601 MacroInfo *MacroToReInstall = iter->second.back(); in HandlePragmaPopMacro()
|
D | TokenLexer.cpp | 26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init() 125 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs()
|
/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 | 54 class MacroInfo; variable 238 llvm::DenseMap<MacroInfo *, serialization::MacroID> MacroIDs; 242 MacroInfo *MI; 621 serialization::MacroID getMacroRef(MacroInfo *MI, const IdentifierInfo *Name); 624 serialization::MacroID getMacroID(MacroInfo *MI); 826 void MacroRead(serialization::MacroID ID, MacroInfo *MI) override;
|
D | ASTReader.h | 546 std::vector<MacroInfo *> MacrosLoaded; 1895 MacroInfo *getMacro(serialization::MacroID ID); 2069 MacroInfo *ReadMacroRecord(ModuleFile &F, uint64_t Offset);
|
/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() 67 for (MacroInfo::tokens_iterator I = MI.tokens_begin(), E = MI.tokens_end(); in PrintMacroDefinition() 352 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined() 669 typedef std::pair<const IdentifierInfo *, MacroInfo *> id_macro_pair; 695 MacroInfo &MI = *MacrosByID[i].second; in DoPrintMacros()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 1766 MacroInfo *MacroInfo, in CodeCompleteMacroArgument() argument 1768 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
|