/external/llvm-project/clang/include/clang/Lex/ |
D | MacroInfo.h | 290 class MacroDirective { 300 MacroDirective *Previous = nullptr; 316 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 325 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 328 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 331 MacroDirective *getPrevious() { return Previous; } in getPrevious() 381 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 402 static bool classof(const MacroDirective *) { return true; } in classof() argument 406 class DefMacroDirective : public MacroDirective { 411 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
D | Preprocessor.h | 577 MacroDirective *MD; 592 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 597 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 614 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 626 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 629 O.State = (MacroDirective *)nullptr; in MacroState() 634 O.State = (MacroDirective *)nullptr; 644 MacroDirective *getLatest() const { in getLatest() 647 return State.get<MacroDirective*>(); in getLatest() 650 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
D | PPCallbacks.h | 28 class MacroDirective; variable 287 const MacroDirective *MD) { in MacroDefined() 298 const MacroDirective *Undef) { in MacroUndefined() 545 const MacroDirective *MD) override { in MacroDefined() 552 const MacroDirective *Undef) override { in MacroUndefined()
|
D | PreprocessingRecord.h | 528 void MacroDefined(const Token &Id, const MacroDirective *MD) override; 530 const MacroDirective *Undef) override;
|
/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 307 class MacroDirective { 313 MacroDirective *Previous; 329 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 339 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 342 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 345 MacroDirective *getPrevious() { return Previous; } in getPrevious() 394 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 414 static bool classof(const MacroDirective *) { return true; } in classof() argument 418 class DefMacroDirective : public MacroDirective { 423 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
D | Preprocessor.h | 375 ModuleMacroInfo(MacroDirective *MD) in ModuleMacroInfo() 379 MacroDirective *MD; 393 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 408 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 420 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 422 O.State = (MacroDirective *)nullptr; in MacroState() 426 O.State = (MacroDirective *)nullptr; 435 MacroDirective *getLatest() const { in getLatest() 438 return State.get<MacroDirective*>(); in getLatest() 440 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
D | PPCallbacks.h | 31 class MacroDirective; variable 248 const MacroDirective *MD) { in MacroDefined() 444 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | MacroUsageCheck.h | 17 class MacroDirective; variable 39 void warnMacro(const MacroDirective *MD, StringRef MacroName); 40 void warnNaming(const MacroDirective *MD, StringRef MacroName);
|
D | MacroUsageCheck.cpp | 39 const MacroDirective *MD) override { in MacroDefined() 79 void MacroUsageCheck::warnMacro(const MacroDirective *MD, StringRef MacroName) { in warnMacro() 97 void MacroUsageCheck::warnNaming(const MacroDirective *MD, in warnNaming()
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 177 MacroDirective *MD = this; in getDefinition() 199 const MacroDirective::DefInfo 200 MacroDirective::findDirectiveAtLoc(SourceLocation L, SourceManager &SM) const { in findDirectiveAtLoc() 212 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
/external/llvm-project/clang/lib/Lex/ |
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()
|
D | PreprocessingRecord.cpp | 445 const MacroDirective *MD) { in MacroDefined() 456 const MacroDirective *Undef) { in MacroUndefined()
|
/external/llvm-project/clang-tools-extra/docs/ |
D | pp-trace.rst | 120 In all but one case (MacroDirective) the "Argument" scalars have the same 582 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 591 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 … 633 MacroDirective: MD_Define 646 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … 654 MacroDirective: (null) 733 MacroDirective (MD_Define|MD_Undefine|MD_Visibility) const MacroDirective … [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MacroPPCallbacks.h | 111 const MacroDirective *MD) override; 117 const MacroDirective *Undef) override;
|
D | MacroPPCallbacks.cpp | 179 const MacroDirective *MD) { in MacroDefined() 193 const MacroDirective *Undef) { in MacroUndefined()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CollectMacros.h | 51 void MacroDefined(const Token &MacroName, const MacroDirective *MD) override { in MacroDefined() 62 const clang::MacroDirective *Undef) override { in MacroUndefined()
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.h | 133 const MacroDirective *MD) override; 135 const MacroDirective *Undef) override; 201 void appendArgument(const char *Name, const MacroDirective *Value);
|
D | PPCallbacksTracker.cpp | 332 const MacroDirective *MacroDirective) { in MacroDefined() argument 335 appendArgument("MacroDirective", MacroDirective); in MacroDefined() 341 const MacroDirective *Undef) { in MacroUndefined() 565 const MacroDirective *Value) { in appendArgument()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexingAction.cpp | 40 const MacroDirective *MD) override { in MacroDefined() 47 const MacroDirective *Undef) override { in MacroUndefined() 168 if (MacroDirective *MD = M.second.getLatest()) { in indexPreprocessorMacros()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ExpandModularHeadersPPCallbacks.h | 105 const MacroDirective *MD) override; 107 const MacroDirective *Undef) override;
|
D | ExpandModularHeadersPPCallbacks.cpp | 263 const MacroDirective *MD) { in MacroDefined() 267 const Token &, const MacroDefinition &, const MacroDirective *Undef) { in MacroUndefined()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | FindAllMacros.h | 33 const MacroDirective *MD) override;
|
D | FindAllMacros.cpp | 35 const MacroDirective *MD) { in MacroDefined()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | UpgradeGoogletestCaseCheck.cpp | 57 const MacroDirective *Undef) override { in MacroUndefined() 63 const MacroDirective *MD) override { in MacroDefined()
|
/external/llvm-project/clang/lib/Frontend/ |
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()
|