Home
last modified time | relevance | path

Searched refs:MacroDirective (Results 1 – 19 of 19) sorted by relevance

/external/clang/include/clang/Lex/
DMacroInfo.h307 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 …]
DPreprocessor.h374 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 …]
DPPCallbacks.h31 class MacroDirective; variable
248 const MacroDirective *MD) { in MacroDefined()
444 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined()
DPreprocessingRecord.h491 void MacroDefined(const Token &Id, const MacroDirective *MD) override;
/external/clang/lib/Lex/
DMacroInfo.cpp176 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()
DPPMacroExpansion.cpp36 MacroDirective *
45 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
64 MacroDirective *MD) { in setLoadedMacroDirective()
DPreprocessingRecord.cpp420 const MacroDirective *MD) { in MacroDefined()
DPPLexerChange.cpp690 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
DPreprocessor.cpp338 const MacroDirective::DefInfo in getLastMacroWithSpelling()
DPPDirectives.cpp1289 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective()
1316 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp168 const MacroDirective *MD) override;
350 const MacroDirective *MD) { in MacroDefined()
DASTUnit.cpp772 const MacroDirective *MD) override { in MacroDefined()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp261 const MacroDirective *MD) override { in MacroDefined()
/external/clang/include/clang/Serialization/
DASTWriter.h55 class MacroDirective; variable
DASTReader.h78 class MacroDirective; variable
/external/clang/tools/libclang/
DIndexing.cpp282 void MacroDefined(const Token &Id, const MacroDirective *MD) override {} in MacroDefined()
DCIndex.cpp7419 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/
DASTReader.cpp1845 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()
DASTWriter.cpp2030 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro()
2091 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()