/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 | 824 MacroDirective *MD; 839 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 844 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 861 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 873 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 876 O.State = (MacroDirective *)nullptr; in MacroState() 881 O.State = (MacroDirective *)nullptr; 891 MacroDirective *getLatest() const { in getLatest() 894 return State.get<MacroDirective*>(); in getLatest() 897 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
H A D | PPCallbacks.h | 28 class MacroDirective; variable 345 const MacroDirective *MD) { in MacroDefined() 356 const MacroDirective *Undef) { in MacroUndefined() 675 const MacroDirective *MD) override { in MacroDefined() 682 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 | 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 | 817 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
H A D | Preprocessor.cpp | 367 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
H A D | PPDirectives.cpp | 1783 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1810 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
/freebsd/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/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/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 290 const MacroDirective *MD) override { in MacroDefined() 308 const MacroDirective *Undef) override { in MacroUndefined() 349 const MacroDirective *MD; 351 PendingMacro(const Token &MacroNameToken, const MacroDirective *MD) in PendingMacro()
|
H A D | DeclarationFragments.cpp | 1330 const MacroDirective *MD) { in getFragmentsForMacro()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 237 const MacroDirective *MD) override; 242 const MacroDirective *Undef) override; 560 const MacroDirective *MD) { in MacroDefined() 583 const MacroDirective *Undef) { in MacroUndefined()
|
H A D | ASTUnit.cpp | 933 const MacroDirective *MD) override { in MacroDefined()
|
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | DeclarationFragments.h | 416 const MacroDirective *MD);
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 2396 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2399 MacroDirective *MD = nullptr; in resolvePendingMacro() 2401 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2403 case MacroDirective::MD_Define: { in resolvePendingMacro() 2408 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2411 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
H A D | ASTWriter.cpp | 2460 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2564 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor() 2582 MD->getKind() == MacroDirective::MD_Undefine) in WritePreprocessor()
|