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 | 375 ModuleMacroInfo(MacroDirective *MD) in ModuleMacroInfo() 379 MacroDirective *MD; 393 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 408 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 420 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 422 O.State = (MacroDirective *)nullptr; in MacroState() 426 O.State = (MacroDirective *)nullptr; 435 MacroDirective *getLatest() const { in getLatest() 438 return State.get<MacroDirective*>(); in getLatest() 440 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 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
D | PPMacroExpansion.cpp | 36 MacroDirective * 45 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 71 MacroDirective *MD) { in setLoadedMacroDirective()
|
D | PreprocessingRecord.cpp | 420 const MacroDirective *MD) { in MacroDefined()
|
D | PPLexerChange.cpp | 722 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
D | Preprocessor.cpp | 341 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
D | PPDirectives.cpp | 1431 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1458 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 168 const MacroDirective *MD) override; 362 const MacroDirective *MD) { in MacroDefined()
|
D | ASTUnit.cpp | 772 const MacroDirective *MD) override { in MacroDefined()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 264 const MacroDirective *MD) override { in MacroDefined()
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 55 class MacroDirective; variable
|
D | ASTReader.h | 79 class MacroDirective; variable
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 260 void MacroDefined(const Token &Id, const MacroDirective *MD) override {} in MacroDefined()
|
D | CIndex.cpp | 7843 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(&II); in getMacroInfo() 7845 for (MacroDirective::DefInfo in getMacroInfo() 7900 MacroDirective *InnerMD = PP.getLocalMacroDirectiveHistory(&II); in checkForMacroInMacroDefinition()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1868 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 1871 MacroDirective *MD = nullptr; in resolvePendingMacro() 1873 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 1875 case MacroDirective::MD_Define: { in resolvePendingMacro() 1880 case MacroDirective::MD_Undefine: { in resolvePendingMacro() 1884 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
D | ASTWriter.cpp | 2109 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2170 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()
|