/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 347 class ExpansionInfo { 409 static ExpansionInfo create(SourceLocation SpellingLoc, SourceLocation Start, 412 ExpansionInfo X; 439 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() 452 static ExpansionInfo createForTokenSplit(SourceLocation SpellingLoc, in createForTokenSplit() 463 static_assert(sizeof(FileInfo) <= sizeof(ExpansionInfo), 475 ExpansionInfo Expansion; 491 const ExpansionInfo &getExpansion() const { in getExpansion() 505 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() 1787 SourceLocation createExpansionLocImpl(const SrcMgr::ExpansionInfo &Expansion,
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 301 class ExpansionInfo { 354 static ExpansionInfo create(SourceLocation SpellingLoc, in create() 356 ExpansionInfo X; in create() 382 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() 400 ExpansionInfo Expansion; 413 const ExpansionInfo &getExpansion() const { in getExpansion() 427 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() 1612 SourceLocation createExpansionLocImpl(const SrcMgr::ExpansionInfo &Expansion,
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 623 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc() 636 ExpansionInfo Info = ExpansionInfo::create( in createExpansionLoc() 647 ExpansionInfo::createForTokenSplit(Spelling, TokenStart, TokenEnd), in createTokenSplitLoc() 652 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl() 1019 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() 1054 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion() 1066 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion() 1079 const SrcMgr::ExpansionInfo &ExpInfo = in isAtStartOfImmediateMacroExpansion() 1115 const SrcMgr::ExpansionInfo &ExpInfo = in isAtEndOfImmediateMacroExpansion() 1752 const ExpansionInfo &ExpInfo = Entry.getExpansion(); in computeMacroArgsCache() [all …]
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 594 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc() 606 ExpansionInfo Info = ExpansionInfo::create(SpellingLoc, ExpansionLocStart, in createExpansionLoc() 612 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl() 979 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() 1006 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion() 1018 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion() 1031 const SrcMgr::ExpansionInfo &ExpInfo = in isAtStartOfImmediateMacroExpansion() 1067 const SrcMgr::ExpansionInfo &ExpInfo = in isAtEndOfImmediateMacroExpansion() 1827 const ExpansionInfo &ExpInfo = Entry.getExpansion(); in computeMacroArgsCache() 1867 const ExpansionInfo &Info = Entry.getExpansion(); in associateFileChunkWithMacroArgExp()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNullptrCheck.cpp | 320 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in getMacroAndArgLocations() 373 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in expandsFrom()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | PlistDiagnostics.cpp | 159 struct ExpansionInfo { struct 162 ExpansionInfo(std::string N, std::string E) in ExpansionInfo() argument 176 static ExpansionInfo 391 ExpansionInfo EI = getExpandedMacro(P->getLocation().asLocation(), PP, CTU); in ReportMacroExpansions() 986 static ExpansionInfo
|
D | BugReporterVisitors.cpp | 257 const SrcMgr::ExpansionInfo &EInfo = SE.getExpansion(); in isFunctionMacroExpansion()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 967 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in getImmediateMacroName() 999 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() local 1001 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName() 1002 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroName() 1024 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics() local 1026 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics() 1027 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroNameForDiagnostics()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 987 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in getImmediateMacroName() 1019 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() local 1021 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName() 1022 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroName() 1044 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroNameForDiagnostics() local 1046 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroNameForDiagnostics() 1047 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroNameForDiagnostics()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 687 SrcMgr::ExpansionInfo Expansion = in getExpansionLocOfMacro()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 876 const SrcMgr::ExpansionInfo &EInfo = SE.getExpansion(); in VisitNode()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2018 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); in WriteSourceManagerBlock()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2029 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); in WriteSourceManagerBlock()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 8679 const SrcMgr::ExpansionInfo &FromEx = FromSLoc.getExpansion(); in Import()
|