Searched refs:ExpansionInfo (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 266 class ExpansionInfo { 313 static ExpansionInfo create(SourceLocation SpellingLoc, in create() 315 ExpansionInfo X; in create() 340 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc, in createForMacroArg() 356 ExpansionInfo Expansion; 369 const ExpansionInfo &getExpansion() const { in getExpansion() 381 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() 1338 SourceLocation createExpansionLocImpl(const SrcMgr::ExpansionInfo &Expansion,
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 106 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() local 108 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName() 109 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroName()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 569 ExpansionInfo Info = ExpansionInfo::createForMacroArg(SpellingLoc, in createMacroArgExpansionLoc() 581 ExpansionInfo Info = ExpansionInfo::create(SpellingLoc, ExpansionLocStart, in createExpansionLoc() 587 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl() 924 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() 951 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in isMacroArgExpansion() 1658 const ExpansionInfo &ExpInfo = Entry.getExpansion(); in computeMacroArgsCache() 1671 const ExpansionInfo &Info = getSLocEntry(LocInfo.first).getExpansion(); in computeMacroArgsCache()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 879 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in makeFileCharRange() 936 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in getImmediateMacroName() 968 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() local 970 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first); in getImmediateMacroName() 971 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength); in getImmediateMacroName()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1531 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); in WriteSourceManagerBlock()
|