Searched refs:MacroDirective (Results 1 – 17 of 17) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 290 class MacroDirective { 300 MacroDirective *Previous = nullptr; 316 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 406 class DefMacroDirective : public MacroDirective { 411 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() 421 static bool classof(const MacroDirective *MD) { in classof() 432 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective() 436 static bool classof(const MacroDirective *MD) { in classof() 447 : MacroDirective(MD_Visibility, Loc) { in VisibilityMacroDirective() 455 static bool classof(const MacroDirective *MD) { in classof() [all …]
|
| H A D | Preprocessor.h | 579 MacroDirective *MD; 594 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 616 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 628 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 631 O.State = (MacroDirective *)nullptr; in MacroState() 636 O.State = (MacroDirective *)nullptr; 646 MacroDirective *getLatest() const { in getLatest() 649 return State.get<MacroDirective*>(); in getLatest() 652 void setLatest(MacroDirective *MD) { in setLatest() 1094 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc() [all …]
|
| H A D | PPCallbacks.h | 28 class MacroDirective; variable 291 const MacroDirective *MD) { in MacroDefined() 302 const MacroDirective *Undef) { in MacroUndefined() 581 const MacroDirective *MD) override { in MacroDefined() 588 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-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 179 MacroDirective *MD = this; in getDefinition() 201 const MacroDirective::DefInfo 202 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc() 215 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
| H A D | PreprocessingRecord.cpp | 462 const MacroDirective *MD) { in MacroDefined() 473 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 | 805 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
| H A D | PPDirectives.cpp | 1541 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1568 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
| H A D | Preprocessor.cpp | 358 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 175 const MacroDirective *MD) override; 180 const MacroDirective *Undef) override; 410 const MacroDirective *MD) { in MacroDefined() 424 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | ASTUnit.cpp | 886 const MacroDirective *MD) override { in MacroDefined()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 2191 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2194 MacroDirective *MD = nullptr; in resolvePendingMacro() 2196 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2198 case MacroDirective::MD_Define: { in resolvePendingMacro() 2203 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2206 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
| H A D | ASTWriter.cpp | 2129 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2213 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()
|