/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 29 class MacroInfo { 110 ~MacroInfo() { in ~MacroInfo() 115 MacroInfo(SourceLocation DefLoc); 129 this->~MacroInfo(); in Destroy() 155 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, 407 inline MacroInfo *getMacroInfo(); 408 const MacroInfo *getMacroInfo() const { in getMacroInfo() 442 const MacroInfo *getMacroInfo() const { in getMacroInfo() 445 MacroInfo *getMacroInfo() { in getMacroInfo() 458 MacroInfo *Info; [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 63 static MacroArgs *create(const MacroInfo *MI, 88 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
|
D | Preprocessor.h | 373 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> > PragmaPushMacroInfo; 434 MacroInfo MI; 448 MacroInfo MI; 587 const MacroInfo *getMacroInfo(IdentifierInfo *II) const { in getMacroInfo() 591 MacroInfo *getMacroInfo(IdentifierInfo *II) { in getMacroInfo() 606 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective() 613 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI){ in appendDefMacroDirective() 725 void EnterMacro(Token &Identifier, SourceLocation ILEnd, MacroInfo *Macro, 1154 void DumpMacro(const MacroInfo &MI) const; 1287 MacroInfo *AllocateMacroInfo(SourceLocation L); [all …]
|
D | PreprocessingRecord.h | 29 class MacroInfo; variable 332 llvm::DenseMap<const MacroInfo *, MacroDefinition *> MacroDefinitions; 363 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinition *Def); 561 MacroDefinition *findMacroDefinition(const MacroInfo *MI); 589 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 | 1121 const IdentifierInfo *MacroInfo = definition->getName(); in clang_getCursorCompletionString() local 1123 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()
|
D | PreprocessingRecord.cpp | 322 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro, in RegisterMacroDefinition() 360 MacroDefinition *PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) { in findMacroDefinition() 361 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos in findMacroDefinition() 370 const MacroInfo *MI, in addMacroExpansion() 421 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined()
|
D | PPDirectives.cpp | 36 MacroInfo *Preprocessor::AllocateMacroInfo() { in AllocateMacroInfo() 56 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 57 MacroInfo *MI = AllocateMacroInfo(); in AllocateMacroInfo() 58 new (MI) MacroInfo(L); in AllocateMacroInfo() 62 MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, in AllocateDeserializedMacroInfo() 64 static_assert(llvm::AlignOf<MacroInfo>::Alignment >= sizeof(SubModuleID), in AllocateDeserializedMacroInfo() 71 MacroInfo *MI = &MIChain->MI; in AllocateDeserializedMacroInfo() 72 new (MI) MacroInfo(L); in AllocateDeserializedMacroInfo() 79 Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, SourceLocation Loc, in AllocateDefMacroDirective() 103 void Preprocessor::ReleaseMacroInfo(MacroInfo *MI) { in ReleaseMacroInfo() [all …]
|
D | CMakeLists.txt | 11 MacroInfo.cpp
|
D | Android.mk | 18 MacroInfo.cpp \
|
D | PPMacroExpansion.cpp | 79 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); in RegisterBuiltinMacro() 137 static bool isTrivialSingleTokenExpansion(const MacroInfo *MI, in isTrivialSingleTokenExpansion() 163 for (MacroInfo::arg_iterator I = MI->arg_begin(), E = MI->arg_end(); in isTrivialSingleTokenExpansion() 221 MacroInfo *MI = Def.getMacroInfo(); in HandleMacroExpandedIdentifier() 357 if (MacroInfo *NewMI = getMacroInfo(NewII)) in HandleMacroExpandedIdentifier() 513 MacroInfo *MI, in ReadFunctionLikeMacroArgs() 601 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs() 1523 void Preprocessor::markMacroAsUsed(MacroInfo *MI) { in markMacroAsUsed()
|
D | MacroArgs.cpp | 25 MacroArgs *MacroArgs::create(const MacroInfo *MI, in create() 148 MacroArgs::getPreExpArgument(unsigned Arg, const MacroInfo *MI, in getPreExpArgument()
|
D | Preprocessor.cpp | 218 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 296 static bool MacroDefinitionEquals(const MacroInfo *MI, in MacroDefinitionEquals() 603 MacroInfo *MI = MD->getMacroInfo(); in HandleIdentifier()
|
D | PPLexerChange.cpp | 162 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() 287 if (MacroInfo *MI = in HandleEndOfFile()
|
D | Pragma.cpp | 566 MacroInfo *MI = getMacroInfo(IdentInfo); in HandlePragmaPushMacro() 591 llvm::DenseMap<IdentifierInfo*, std::vector<MacroInfo*> >::iterator iter = in HandlePragmaPopMacro() 596 MacroInfo *MI = CurrentMD->getMacroInfo(); in HandlePragmaPopMacro() 603 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 234 llvm::DenseMap<MacroInfo *, serialization::MacroID> MacroIDs; 238 MacroInfo *MI; 575 serialization::MacroID getMacroRef(MacroInfo *MI, const IdentifierInfo *Name); 578 serialization::MacroID getMacroID(MacroInfo *MI); 750 void MacroRead(serialization::MacroID ID, MacroInfo *MI) override;
|
D | ASTReader.h | 506 std::vector<MacroInfo *> MacrosLoaded; 1848 MacroInfo *getMacro(serialization::MacroID ID); 2011 MacroInfo *ReadMacroRecord(ModuleFile &F, uint64_t Offset);
|
/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/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/Parse/ |
D | Parser.cpp | 1785 MacroInfo *MacroInfo, in CodeCompleteMacroArgument() argument 1787 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
|