Searched refs:MacroDirective (Results 1 – 19 of 19) sorted by relevance
/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 307 class MacroDirective { 313 MacroDirective *Previous; 329 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 339 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 342 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 345 MacroDirective *getPrevious() { return Previous; } in getPrevious() 394 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 414 static bool classof(const MacroDirective *) { return true; } in classof() argument 418 class DefMacroDirective : public MacroDirective { 423 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
D | Preprocessor.h | 374 ModuleMacroInfo(MacroDirective *MD) in ModuleMacroInfo() 378 MacroDirective *MD; 392 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 407 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 419 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 421 O.State = (MacroDirective *)nullptr; in MacroState() 425 O.State = (MacroDirective *)nullptr; 434 MacroDirective *getLatest() const { in getLatest() 437 return State.get<MacroDirective*>(); in getLatest() 439 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
D | PPCallbacks.h | 31 class MacroDirective; variable 248 const MacroDirective *MD) { in MacroDefined() 444 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined()
|
D | PreprocessingRecord.h | 491 void MacroDefined(const Token &Id, const MacroDirective *MD) override;
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 177 MacroDirective *MD = this; in getDefinition() 199 const MacroDirective::DefInfo 200 MacroDirective::findDirectiveAtLoc(SourceLocation L, SourceManager &SM) const { in findDirectiveAtLoc() 212 void MacroDirective::dump() const { in dump()
|
D | PPMacroExpansion.cpp | 36 MacroDirective * 45 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 64 MacroDirective *MD) { in setLoadedMacroDirective()
|
D | PreprocessingRecord.cpp | 420 const MacroDirective *MD) { in MacroDefined()
|
D | PPLexerChange.cpp | 690 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
D | Preprocessor.cpp | 338 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
D | PPDirectives.cpp | 1289 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1316 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 168 const MacroDirective *MD) override; 350 const MacroDirective *MD) { in MacroDefined()
|
D | ASTUnit.cpp | 772 const MacroDirective *MD) override { in MacroDefined()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 261 const MacroDirective *MD) override { in MacroDefined()
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 55 class MacroDirective; variable
|
D | ASTReader.h | 78 class MacroDirective; variable
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 282 void MacroDefined(const Token &Id, const MacroDirective *MD) override {} in MacroDefined()
|
D | CIndex.cpp | 7419 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(&II); in getMacroInfo() 7421 for (MacroDirective::DefInfo in getMacroInfo() 7476 MacroDirective *InnerMD = PP.getLocalMacroDirectiveHistory(&II); in checkForMacroInMacroDefinition()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1845 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 1848 MacroDirective *MD = nullptr; in resolvePendingMacro() 1850 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 1852 case MacroDirective::MD_Define: { in resolvePendingMacro() 1857 case MacroDirective::MD_Undefine: { in resolvePendingMacro() 1861 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
D | ASTWriter.cpp | 2030 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2091 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()
|