Searched refs:ExpansionInfo (Results 1 – 5 of 5) sorted by relevance
/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/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/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/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()
|