Home
last modified time | relevance | path

Searched refs:MacroDefinition (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.cpp320 const MacroDefinition &MacroDefinition, in MacroExpands() argument
325 appendArgument("MacroDefinition", MacroDefinition); in MacroExpands()
340 const MacroDefinition &MacroDefinition, in MacroUndefined() argument
344 appendArgument("MacroDefinition", MacroDefinition); in MacroUndefined()
349 const MacroDefinition &MacroDefinition, in Defined() argument
353 appendArgument("MacroDefinition", MacroDefinition); in Defined()
386 const MacroDefinition &MacroDefinition) { in Ifdef() argument
390 appendArgument("MacroDefinition", MacroDefinition); in Ifdef()
395 const MacroDefinition &MacroDefinition) { in Ifndef() argument
399 appendArgument("MacroDefinition", MacroDefinition); in Ifndef()
[all …]
DPPCallbacksTracker.h130 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD,
134 void MacroUndefined(const Token &MacroNameTok, const MacroDefinition &MD,
136 void Defined(const Token &MacroNameTok, const MacroDefinition &MD,
144 const MacroDefinition &MD) override;
146 const MacroDefinition &MD) override;
204 void appendArgument(const char *Name, const MacroDefinition &Value);
/external/llvm-project/clang-tools-extra/clangd/
DCollectMacros.h55 void MacroExpands(const Token &MacroName, const MacroDefinition &MD, in MacroExpands()
61 const clang::MacroDefinition &MD, in MacroUndefined()
67 const MacroDefinition &MD) override { in Ifdef()
72 const MacroDefinition &MD) override { in Ifndef()
76 void Defined(const Token &MacroName, const MacroDefinition &MD, in Defined()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.h35 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD,
39 const MacroDefinition &MD) override;
42 const MacroDefinition &MD) override;
50 void MacroUsed(const Token &Name, const MacroDefinition &MD);
DFindAllMacros.cpp40 void FindAllMacros::MacroUsed(const Token &Name, const MacroDefinition &MD) { in MacroUsed()
48 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
54 const MacroDefinition &MD) { in Ifdef()
59 const MacroDefinition &MD) { in Ifndef()
/external/clang/include/clang/Lex/
DPPCallbacks.h30 class MacroDefinition; variable
243 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
255 const MacroDefinition &MD) { in MacroUndefined()
260 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined()
299 const MacroDefinition &MD) { in Ifdef()
307 const MacroDefinition &MD) { in Ifndef()
438 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands()
450 const MacroDefinition &MD) override { in MacroUndefined()
455 void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined()
482 const MacroDefinition &MD) override { in Ifdef()
[all …]
DPreprocessingRecord.h489 void MacroExpands(const Token &Id, const MacroDefinition &MD,
492 void MacroUndefined(const Token &Id, const MacroDefinition &MD) override;
500 const MacroDefinition &MD) override;
502 const MacroDefinition &MD) override;
504 void Defined(const Token &MacroNameTok, const MacroDefinition &MD,
DPPConditionalDirectiveRecord.h94 const MacroDefinition &MD) override;
96 const MacroDefinition &MD) override;
DPreprocessor.h366 MacroDefinition MD;
368 MacroExpandsInfo(Token Tok, MacroDefinition MD, SourceRange Range) in MacroExpandsInfo()
817 MacroDefinition getMacroDefinition(const IdentifierInfo *II) { in getMacroDefinition()
819 return MacroDefinition(); in getMacroDefinition()
825 return MacroDefinition(dyn_cast_or_null<DefMacroDirective>(MD), in getMacroDefinition()
830 MacroDefinition getMacroDefinitionAtLoc(const IdentifierInfo *II, in getMacroDefinitionAtLoc()
833 return MacroDefinition(); in getMacroDefinitionAtLoc()
840 return MacroDefinition(DI.getDirective(), in getMacroDefinitionAtLoc()
1781 bool HandleMacroExpandedIdentifier(Token &Tok, const MacroDefinition &MD);
DMacroInfo.h563 class MacroDefinition {
568 MacroDefinition() : LatestLocalAndAmbiguous(), ModuleMacros() {} in MacroDefinition() function
569 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() function
/external/llvm-project/clang-tools-extra/clang-tidy/
DExpandModularHeadersPPCallbacks.h102 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &,
106 void MacroUndefined(const Token &, const MacroDefinition &,
108 void Defined(const Token &MacroNameTok, const MacroDefinition &,
115 const MacroDefinition &) override;
117 const MacroDefinition &) override;
DExpandModularHeadersPPCallbacks.cpp256 const MacroDefinition &, in MacroExpands() argument
267 const Token &, const MacroDefinition &, const MacroDirective *Undef) { in MacroUndefined() argument
272 const MacroDefinition &, in Defined() argument
291 const MacroDefinition &) { in Ifdef() argument
295 const MacroDefinition &) { in Ifndef() argument
/external/llvm-project/clang/include/clang/Lex/
DPPCallbacks.h27 class MacroDefinition; variable
282 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
297 const MacroDefinition &MD, in MacroUndefined()
303 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined()
351 const MacroDefinition &MD) { in Ifdef()
359 const MacroDefinition &MD) { in Ifndef()
538 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands()
551 const MacroDefinition &MD, in MacroUndefined()
557 void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined()
584 const MacroDefinition &MD) override { in Ifdef()
[all …]
DPreprocessingRecord.h526 void MacroExpands(const Token &Id, const MacroDefinition &MD,
529 void MacroUndefined(const Token &Id, const MacroDefinition &MD,
538 const MacroDefinition &MD) override;
540 const MacroDefinition &MD) override;
543 void Defined(const Token &MacroNameTok, const MacroDefinition &MD,
DPPConditionalDirectiveRecord.h93 const MacroDefinition &MD) override;
95 const MacroDefinition &MD) override;
DMacroInfo.h564 class MacroDefinition {
569 MacroDefinition() = default;
570 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() function
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantPreprocessorCheck.cpp47 const MacroDefinition &MacroDefinition) override { in Ifdef() argument
55 const MacroDefinition &MacroDefinition) override { in Ifndef() argument
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DUpgradeGoogletestCaseCheck.cpp51 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands()
56 void MacroUndefined(const Token &MacroNameTok, const MacroDefinition &MD, in MacroUndefined()
75 void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined()
81 const MacroDefinition &MD) override { in Ifdef()
86 const MacroDefinition &MD) override { in Ifndef()
93 void macroUsed(const clang::Token &MacroNameTok, const MacroDefinition &MD, in macroUsed()
DAvoidUnderscoreInGoogletestNameCheck.cpp44 const MacroDefinition &MacroDefinition, SourceRange Range, in MacroExpands() argument
/external/clang/lib/Lex/
DPreprocessingRecord.cpp384 const MacroDefinition &MD) { in Ifdef()
392 const MacroDefinition &MD) { in Ifndef()
400 const MacroDefinition &MD, in Defined()
413 const MacroDefinition &MD, in MacroExpands()
430 const MacroDefinition &MD) { in MacroUndefined()
DPPConditionalDirectiveRecord.cpp87 const MacroDefinition &MD) { in Ifdef()
94 const MacroDefinition &MD) { in Ifndef()
/external/llvm-project/clang/lib/Lex/
DPreprocessingRecord.cpp407 const MacroDefinition &MD) { in Ifdef()
415 const MacroDefinition &MD) { in Ifndef()
423 const MacroDefinition &MD, in Defined()
438 const MacroDefinition &MD, in MacroExpands()
455 const MacroDefinition &MD, in MacroUndefined()
DPPConditionalDirectiveRecord.cpp84 const MacroDefinition &MD) { in Ifdef()
91 const MacroDefinition &MD) { in Ifndef()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMacroRepeatedSideEffectsCheck.cpp26 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD,
41 const MacroDefinition &MD, in MacroExpands()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp747 const clang::MacroDefinition &MD, clang::SourceRange Range,
750 const clang::MacroDefinition &MD,
758 const clang::MacroDefinition &MD) override;
760 const clang::MacroDefinition &MD) override;
1312 const clang::MacroDefinition &MD, in MacroExpands()
1330 const clang::MacroDefinition &MD, in Defined()
1364 const clang::MacroDefinition &MD) { in Ifdef()
1375 const clang::MacroDefinition &MD) { in Ifndef()

123