Searched defs:ExpansionInfo (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp62 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); local
64 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first);
65 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength);
/external/clang/include/clang/Basic/
H A DSourceManager.h299 /// \brief Each ExpansionInfo encodes the expansion location - where
302 class ExpansionInfo { class in namespace:clang::SrcMgr
349 /// \brief Return a ExpansionInfo for an expansion.
355 static ExpansionInfo create(SourceLocation SpellingLoc,
357 ExpansionInfo X;
364 /// \brief Return a special ExpansionInfo for the expansion of
383 static ExpansionInfo createForMacroArg(SourceLocation SpellingLoc,
392 /// \brief This is a discriminated union of FileInfo and ExpansionInfo.
401 ExpansionInfo Expansion;
414 const ExpansionInfo
[all...]
/external/clang/lib/Lex/
H A DLexer.cpp965 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion();
997 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); local
999 StringRef ExpansionBuffer = SM.getBufferData(ExpansionInfo.first);
1000 return ExpansionBuffer.substr(ExpansionInfo.second, MacroTokenLength);

Completed in 85 milliseconds