| /freebsd/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 351 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 354 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 357 MacroDirective *getPrevious() { return Previous; } in getPrevious() 407 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 428 static bool classof(const MacroDirective *) { return true; } in classof() argument 432 class DefMacroDirective : public MacroDirective { 437 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
| H A D | Preprocessor.h | 848 MacroDirective *MD; 863 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 868 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 885 ModuleMacroInfo(cast<MacroDirective *>(State)); in getModuleInfo() 897 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 900 O.State = (MacroDirective *)nullptr; in MacroState() 905 O.State = (MacroDirective *)nullptr; 915 MacroDirective *getLatest() const { in getLatest() 918 return cast<MacroDirective *>(State); in getLatest() 921 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
| H A D | NoTrivialPPDirectiveTracer.h | 195 const MacroDirective *MD) override { in MacroDefined() 206 const MacroDirective *Undef) override { in MacroUndefined()
|
| H A D | PPCallbacks.h | 29 class MacroDirective; variable 346 const MacroDirective *MD) { in MacroDefined() 357 const MacroDirective *Undef) { in MacroUndefined() 676 const MacroDirective *MD) override { in MacroDefined() 683 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/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 193 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 194 MacroDirective *MD = this; in getDefinition() 214 const MacroDirective::DefInfo 215 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc() 228 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
| H A D | PreprocessingRecord.cpp | 454 const MacroDirective *MD) { in MacroDefined() 465 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | PPMacroExpansion.cpp | 60 MacroDirective * 69 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 95 MacroDirective *ED, in setLoadedMacroDirective() 96 MacroDirective *MD) { in setLoadedMacroDirective()
|
| H A D | PPLexerChange.cpp | 811 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
| H A D | Preprocessor.cpp | 365 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
| H A D | PPDirectives.cpp | 1808 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1835 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 38 const MacroDirective *MD) override { in MacroDefined() 45 const MacroDirective *Undef) override { in MacroUndefined() 210 MacroDirective::Kind DirectiveKind, in indexPreprocessorMacro() 221 if (DirectiveKind == MacroDirective::MD_Visibility) in indexPreprocessorMacro() 224 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() 249 indexPreprocessorMacro(M.first, MI, MacroDirective::MD_Define, in indexPreprocessorModuleMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 111 const MacroDirective *MD) override; 117 const MacroDirective *Undef) override;
|
| H A D | MacroPPCallbacks.cpp | 179 const MacroDirective *MD) { in MacroDefined() 193 const MacroDirective *Undef) { in MacroUndefined()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 236 const MacroDirective *MD) override; 241 const MacroDirective *Undef) override; 559 const MacroDirective *MD) { in MacroDefined() 581 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | ASTUnit.cpp | 934 const MacroDirective *MD) override { in MacroDefined()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 2563 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2566 MacroDirective *MD = nullptr; in resolvePendingMacro() 2568 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2570 case MacroDirective::MD_Define: { in resolvePendingMacro() 2575 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2578 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
| H A D | ASTWriter.cpp | 2536 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2640 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor() 2658 MD->getKind() == MacroDirective::MD_Undefine) in WritePreprocessor()
|