Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DMacroInfo.h291 class MacroDirective {
301 MacroDirective *Previous = nullptr;
317 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function
407 class DefMacroDirective : public MacroDirective {
412 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective()
422 static bool classof(const MacroDirective *MD) { in classof()
433 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
437 static bool classof(const MacroDirective *MD) { in classof()
448 : MacroDirective(MD_Visibility, Loc) { in VisibilityMacroDirective()
456 static bool classof(const MacroDirective *MD) { in classof()
[all …]
H A DPreprocessor.h469 MacroDirective *MD;
484 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo()
506 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo()
518 MacroState(MacroDirective *MD) : State(MD) {} in MacroState()
521 O.State = (MacroDirective *)nullptr; in MacroState()
526 O.State = (MacroDirective *)nullptr;
536 MacroDirective *getLatest() const { in getLatest()
539 return State.get<MacroDirective*>(); in getLatest()
542 void setLatest(MacroDirective *MD) { in setLatest()
959 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
[all …]
H A DPPCallbacks.h29 class MacroDirective; variable
259 const MacroDirective *MD) { in MacroDefined()
270 const MacroDirective *Undef) { in MacroUndefined()
498 const MacroDirective *MD) override { in MacroDefined()
505 const MacroDirective *Undef) override { in MacroUndefined()
H A DPreprocessingRecord.h529 void MacroDefined(const Token &Id, const MacroDirective *MD) override;
531 const MacroDirective *Undef) override;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DMacroInfo.cpp179 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
180 MacroDirective *MD = this; in getDefinition()
202 const MacroDirective::DefInfo
203 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc()
216 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
H A DPreprocessingRecord.cpp450 const MacroDirective *MD) { in MacroDefined()
461 const MacroDirective *Undef) { in MacroUndefined()
H A DPPMacroExpansion.cpp59 MacroDirective *
68 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
94 MacroDirective *ED, in setLoadedMacroDirective()
95 MacroDirective *MD) { in setLoadedMacroDirective()
H A DPPLexerChange.cpp750 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
H A DPreprocessor.cpp352 const MacroDirective::DefInfo in getLastMacroWithSpelling()
H A DPPDirectives.cpp1374 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective()
1401 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMacroPPCallbacks.h112 const MacroDirective *MD) override;
118 const MacroDirective *Undef) override;
H A DMacroPPCallbacks.cpp180 const MacroDirective *MD) { in MacroDefined()
194 const MacroDirective *Undef) { in MacroUndefined()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingAction.cpp94 const MacroDirective *MD) override { in MacroDefined()
101 const MacroDirective *Undef) override { in MacroUndefined()
222 if (MacroDirective *MD = M.second.getLatest()) in indexPreprocessorMacros()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp174 const MacroDirective *MD) override;
179 const MacroDirective *Undef) override;
409 const MacroDirective *MD) { in MacroDefined()
423 const MacroDirective *Undef) { in MacroUndefined()
H A DASTUnit.cpp864 const MacroDirective *MD) override { in MacroDefined()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DClangForward.h74 class MacroDirective; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp1055 const MacroDirective *MD = PP.getLocalMacroDirectiveHistory(II); in getMacroInfoForLocation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp2036 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro()
2039 MacroDirective *MD = nullptr; in resolvePendingMacro()
2041 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro()
2043 case MacroDirective::MD_Define: { in resolvePendingMacro()
2048 case MacroDirective::MD_Undefine: in resolvePendingMacro()
2051 case MacroDirective::MD_Visibility: in resolvePendingMacro()
H A DASTWriter.cpp2420 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro()
2502 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()