reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Lex/Lexer.h
  257   SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;

References

tools/clang/include/clang/Lex/Lexer.h
  262     return getSourceLocation(BufferPtr);
  586     Result.setLocation(getSourceLocation(BufferPtr, TokLen));
tools/clang/lib/Format/FormatTokenLexer.cpp
  415   resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset)));
  480                            ? Lex->getSourceLocation(Offset + 1)
  501                            ? Lex->getSourceLocation(CommentBegin + Len)
  716         resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset)));
tools/clang/lib/Lex/Lexer.cpp
 1146   return PP->Diag(getSourceLocation(Loc), DiagID);
 1468   return CharSourceRange::getCharRange(L.getSourceLocation(Begin),
 1469                                        L.getSourceLocation(End));
 1836         << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " ");
 1883           << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " ");
 2350       PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr),
 2351                                             getSourceLocation(CurPtr)))) {
 2622       PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr),
 2623                                             getSourceLocation(CurPtr)))) {
 2755     SourceLocation EndLoc = getSourceLocation(BufferEnd);
 3708                    getSourceLocation(CurPtr + SizeTmp, SizeTmp2), " ");