| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 313 class MacroDirective { 323 MacroDirective *Previous = nullptr; 342 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 432 class DefMacroDirective : public MacroDirective { 437 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() 447 static bool classof(const MacroDirective *MD) { in classof() 458 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective() 462 static bool classof(const MacroDirective *MD) { in classof() 473 : MacroDirective(MD_Visibility, Loc) { in VisibilityMacroDirective() 481 static bool classof(const MacroDirective *MD) { in classof() [all …]
|
| H A D | Preprocessor.h | 804 MacroDirective *MD; 819 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 841 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 853 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 856 O.State = (MacroDirective *)nullptr; in MacroState() 861 O.State = (MacroDirective *)nullptr; 871 MacroDirective *getLatest() const { in getLatest() 874 return State.get<MacroDirective*>(); in getLatest() 877 void setLatest(MacroDirective *MD) { in setLatest() 1366 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc() [all …]
|
| H A D | PPCallbacks.h | 28 class MacroDirective; variable 313 const MacroDirective *MD) { in MacroDefined() 324 const MacroDirective *Undef) { in MacroUndefined() 617 const MacroDirective *MD) override { in MacroDefined() 624 const MacroDirective *Undef) override { in MacroUndefined()
|
| H A D | PreprocessingRecord.h | 528 void MacroDefined(const Token &Id, const MacroDirective *MD) override; 530 const MacroDirective *Undef) override;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 198 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 199 MacroDirective *MD = this; in getDefinition() 219 const MacroDirective::DefInfo 220 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc() 233 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
| H A D | PreprocessingRecord.cpp | 457 const MacroDirective *MD) { in MacroDefined() 468 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | PPMacroExpansion.cpp | 62 MacroDirective * 71 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 97 MacroDirective *ED, in setLoadedMacroDirective() 98 MacroDirective *MD) { in setLoadedMacroDirective()
|
| H A D | PPLexerChange.cpp | 818 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
| H A D | PPDirectives.cpp | 1706 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1733 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
| H A D | Preprocessor.cpp | 363 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 40 const MacroDirective *MD) override { in MacroDefined() 47 const MacroDirective *Undef) override { in MacroUndefined() 212 MacroDirective::Kind DirectiveKind, in indexPreprocessorMacro() 223 if (DirectiveKind == MacroDirective::MD_Visibility) in indexPreprocessorMacro() 226 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() 251 indexPreprocessorMacro(M.first, MI, MacroDirective::MD_Define, in indexPreprocessorModuleMacros()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 110 const MacroDirective *MD) override; 116 const MacroDirective *Undef) override;
|
| H A D | MacroPPCallbacks.cpp | 179 const MacroDirective *MD) { in MacroDefined() 193 const MacroDirective *Undef) { in MacroUndefined()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 289 const MacroDirective *MD) override { in MacroDefined() 307 const MacroDirective *Undef) override { in MacroUndefined() 347 const MacroDirective *MD; 349 PendingMacro(const Token &MacroNameToken, const MacroDirective *MD) in PendingMacro()
|
| H A D | DeclarationFragments.cpp | 1167 const MacroDirective *MD) { in getFragmentsForMacro()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 225 const MacroDirective *MD) override; 230 const MacroDirective *Undef) override; 477 const MacroDirective *MD) { in MacroDefined() 500 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | ASTUnit.cpp | 921 const MacroDirective *MD) override { in MacroDefined()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | DeclarationFragments.h | 378 const MacroDirective *MD);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 2355 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2358 MacroDirective *MD = nullptr; in resolvePendingMacro() 2360 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2362 case MacroDirective::MD_Define: { in resolvePendingMacro() 2367 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2370 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
| H A D | ASTWriter.cpp | 2332 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2430 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor() 2448 MD->getKind() == MacroDirective::MD_Undefine) in WritePreprocessor()
|