Home
last modified time | relevance | path

Searched refs:getFileOffset (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Rewrite/
DRewriteMacros.cpp134 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
140 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
154 unsigned PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()
155 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
177 RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
201 PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()
DHTMLRewrite.cpp41 unsigned BOffset = SM.getFileOffset(B); in HighlightRange()
42 unsigned EOffset = SM.getFileOffset(E); in HighlightRange()
378 unsigned TokOffs = SM.getFileOffset(Tok.getLocation()); in SyntaxHighlight()
419 TokEnd = SM.getFileOffset(Tok.getLocation())+Tok.getLength(); in SyntaxHighlight()
/external/clang/lib/Frontend/
DCacheTokens.cpp268 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); in EmitToken()
/external/clang/include/clang/Basic/
DSourceManager.h805 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() function