| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 314 class MacroDirective { 324 MacroDirective *Previous = nullptr; 340 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 430 class DefMacroDirective : public MacroDirective { 435 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() 445 static bool classof(const MacroDirective *MD) { in classof() 456 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective() 460 static bool classof(const MacroDirective *MD) { in classof() 471 : MacroDirective(MD_Visibility, Loc) { in VisibilityMacroDirective() 479 static bool classof(const MacroDirective *MD) { in classof() [all …]
|
| H A D | Preprocessor.h | 674 MacroDirective *MD; 689 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 711 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 723 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 726 O.State = (MacroDirective *)nullptr; in MacroState() 731 O.State = (MacroDirective *)nullptr; 741 MacroDirective *getLatest() const { in getLatest() 744 return State.get<MacroDirective*>(); in getLatest() 747 void setLatest(MacroDirective *MD) { in setLatest() 1240 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc() [all …]
|
| H A D | PPCallbacks.h | 28 class MacroDirective; variable 307 const MacroDirective *MD) { in MacroDefined() 318 const MacroDirective *Undef) { in MacroUndefined() 603 const MacroDirective *MD) override { in MacroDefined() 610 const MacroDirective *Undef) override { in MacroUndefined()
|
| H A D | PreprocessingRecord.h | 526 void MacroDefined(const Token &Id, const MacroDirective *MD) override; 528 const MacroDirective *Undef) override;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | MacroUsageCheck.h | 17 class MacroDirective; variable 39 void warnMacro(const MacroDirective *MD, StringRef MacroName); 40 void warnNaming(const MacroDirective *MD, StringRef MacroName);
|
| H A D | MacroUsageCheck.cpp | 39 const MacroDirective *MD) override { in MacroDefined() 81 void MacroUsageCheck::warnMacro(const MacroDirective *MD, StringRef MacroName) { in warnMacro() 102 void MacroUsageCheck::warnNaming(const MacroDirective *MD, in warnNaming()
|
| /llvm-project-15.0.7/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 | 463 const MacroDirective *MD) { in MacroDefined() 474 const MacroDirective *Undef) { in MacroUndefined()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | DuplicateIncludeCheck.cpp | 56 const MacroDirective *MD) override; 59 const MacroDirective *Undef) override; 97 const MacroDirective *MD) { in MacroDefined() 103 const MacroDirective *Undef) { in MacroUndefined()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/ |
| H A D | pp-trace.rst | 562 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 571 MacroDirective: MD_Define 586 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 593 MacroDirective: MD_Define 606 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 613 MacroDirective: MD_Define 626 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 634 MacroDirective: (null) 713 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 721 MacroDirective: MD_Define [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MacroToEnumCheck.cpp | 86 EnumMacro(Token Name, const MacroDirective *Directive) in EnumMacro() 90 const MacroDirective *Directive; 130 const MacroDirective *MD) override; 134 const MacroDirective *Undef) override; 198 bool isConsecutiveMacro(const MacroDirective *MD) const; 199 void rememberLastMacroLocation(const MacroDirective *MD) { in rememberLastMacroLocation() 229 bool MacroToEnumCallbacks::isConsecutiveMacro(const MacroDirective *MD) const { in isConsecutiveMacro() 338 const MacroDirective *MD) { in MacroDefined() 373 const MacroDirective *Undef) { in MacroUndefined()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | CollectMacros.h | 54 void MacroDefined(const Token &MacroName, const MacroDirective *MD) override { in MacroDefined() 65 const clang::MacroDirective *Undef) override { in MacroUndefined()
|
| /llvm-project-15.0.7/clang-tools-extra/pp-trace/ |
| H A D | PPCallbacksTracker.h | 132 const MacroDirective *MD) override; 134 const MacroDirective *Undef) override; 201 void appendArgument(const char *Name, const MacroDirective *Value);
|
| H A D | PPCallbacksTracker.cpp | 329 const MacroDirective *MacroDirective) { in MacroDefined() argument 332 appendArgument("MacroDirective", MacroDirective); in MacroDefined() 338 const MacroDirective *Undef) { in MacroUndefined() 566 const MacroDirective *Value) { in appendArgument()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ExpandModularHeadersPPCallbacks.h | 107 const MacroDirective *MD) override; 109 const MacroDirective *Undef) override;
|
| H A D | ExpandModularHeadersPPCallbacks.cpp | 265 const MacroDirective *MD) { in MacroDefined() 269 const Token &, const MacroDefinition &, const MacroDirective *Undef) { in MacroUndefined()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllMacros.h | 33 const MacroDirective *MD) override;
|
| H A D | FindAllMacros.cpp | 35 const MacroDirective *MD) { in MacroDefined()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | UpgradeGoogletestCaseCheck.cpp | 57 const MacroDirective *Undef) override { in MacroUndefined() 63 const MacroDirective *MD) override { in MacroDefined()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 219 const MacroDirective *MD) override; 224 const MacroDirective *Undef) override; 470 const MacroDirective *MD) { in MacroDefined() 493 const MacroDirective *Undef) { in MacroUndefined()
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 803 const MacroDirective *MD) override { in MacroDefined() 821 const MacroDirective *Undef) override { in MacroUndefined() 860 const MacroDirective *MD; 862 PendingMacro(const Token &MacroNameToken, const MacroDirective *MD) in PendingMacro()
|
| /llvm-project-15.0.7/clang/include/clang/ExtractAPI/ |
| H A D | DeclarationFragments.h | 236 const MacroDirective *MD);
|