/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 242 virtual void MacroExpands(const Token &MacroNameTok, in MacroExpands() argument 247 virtual void MacroDefined(const Token &MacroNameTok, in MacroDefined() argument 254 virtual void MacroUndefined(const Token &MacroNameTok, in MacroUndefined() argument 260 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() argument 298 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() argument 306 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok, in Ifndef() argument 438 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() argument 440 First->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 441 Second->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 444 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined() argument [all …]
|
D | PPConditionalDirectiveRecord.h | 93 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, 95 void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
|
D | PreprocessingRecord.h | 499 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, 501 void Ifndef(SourceLocation Loc, const Token &MacroNameTok, 504 void Defined(const Token &MacroNameTok, const MacroDefinition &MD,
|
D | Preprocessor.h | 1685 bool CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, 1741 void ReadMacroName(Token &MacroNameTok, MacroUse IsDefineUndef = MU_Other,
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 222 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName() argument 225 if (MacroNameTok.is(tok::eod)) in CheckMacroName() 226 return Diag(MacroNameTok, diag::err_pp_missing_macro_name); in CheckMacroName() 228 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in CheckMacroName() 231 std::string Spelling = getSpelling(MacroNameTok, &Invalid); in CheckMacroName() 233 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 237 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 241 Diag(MacroNameTok, getLangOpts().MicrosoftExt in CheckMacroName() 244 << II << MacroNameTok.getKind(); in CheckMacroName() 248 MacroNameTok.setIdentifierInfo(II); in CheckMacroName() [all …]
|
D | PreprocessingRecord.cpp | 383 void PreprocessingRecord::Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() argument 387 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Ifdef() 388 MacroNameTok.getLocation()); in Ifdef() 391 void PreprocessingRecord::Ifndef(SourceLocation Loc, const Token &MacroNameTok, in Ifndef() argument 395 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Ifndef() 396 MacroNameTok.getLocation()); in Ifndef() 399 void PreprocessingRecord::Defined(const Token &MacroNameTok, in Defined() argument 404 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Defined() 405 MacroNameTok.getLocation()); in Defined()
|
D | PPConditionalDirectiveRecord.cpp | 86 const Token &MacroNameTok, in Ifdef() argument 93 const Token &MacroNameTok, in Ifndef() argument
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 263 void MacroDefined(const Token &MacroNameTok, in MacroDefined() argument 266 MacroNameTok.getIdentifierInfo()->getName(), in MacroDefined() 269 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() argument 271 Macros.push_back(MacroAction(MacroNameTok.getLocation(), in MacroExpands() 272 MacroNameTok.getIdentifierInfo()->getName(), in MacroExpands()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 167 void MacroDefined(const Token &MacroNameTok, 171 void MacroUndefined(const Token &MacroNameTok, 361 void PrintPPOutputPPCallbacks::MacroDefined(const Token &MacroNameTok, in MacroDefined() argument 370 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS); in MacroDefined() 374 void PrintPPOutputPPCallbacks::MacroUndefined(const Token &MacroNameTok, in MacroUndefined() argument 379 MoveToLine(MacroNameTok.getLocation()); in MacroUndefined() 380 OS << "#undef " << MacroNameTok.getIdentifierInfo()->getName(); in MacroUndefined()
|
D | ASTUnit.cpp | 771 void MacroDefined(const Token &MacroNameTok, in MacroDefined() argument 773 Hash = llvm::HashString(MacroNameTok.getIdentifierInfo()->getName(), Hash); in MacroDefined()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 441 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() argument 443 if (MacroNameTok.getIdentifierInfo()->getName() == getARCMTMacroName()) in MacroExpands() 444 ARCMTMacroLocs.push_back(MacroNameTok.getLocation()); in MacroExpands()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 264 void MacroUndefined(const Token &MacroNameTok, in MacroUndefined() argument 268 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() argument
|