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

References

tools/clang/include/clang/Lex/Lexer.h
  586     Result.setLocation(getSourceLocation(BufferPtr, TokLen));
tools/clang/include/clang/Lex/Token.h
  164     setLocation(R.getBegin());
tools/clang/lib/Format/FormatTokenLexer.cpp
  615   FormatTok->Tok.setLocation(TokLocation);
tools/clang/lib/Lex/PPDirectives.cpp
 1554   Tok[0].setLocation(Range.getBegin());
tools/clang/lib/Lex/PPLexerChange.cpp
  504       Result.setLocation(Result.getLocation().getLocWithOffset(-1));
tools/clang/lib/Lex/PPMacroExpansion.cpp
  595     Identifier.setLocation(Loc);
  716           TempToken.setLocation(ArgStartIterator->getLocation());
  729           TempToken.setLocation(Loc);
  887     EOFTok.setLocation(Tok.getLocation());
  948     EOFTok.setLocation(Tok.getLocation());
  997     Tok.setLocation(EndLoc);
 1531     Tok.setLocation(SourceMgr.createExpansionLoc(DATELoc, Tok.getLocation(),
 1541     Tok.setLocation(SourceMgr.createExpansionLoc(TIMELoc, Tok.getLocation(),
tools/clang/lib/Lex/Pragma.cpp
 1139     Toks[0].setLocation(NameLoc);
tools/clang/lib/Lex/Preprocessor.cpp
  493   Tok.setLocation(Loc);
 1171     ImportTok.setLocation(ModuleImportLoc);
 1186       Suffix.back().setLocation(SemiLoc);
tools/clang/lib/Lex/TokenLexer.cpp
  686     Tok.setLocation(instLoc);
  814       Result.setLocation(ResultTokLoc);
  911   LHSTok.setLocation(SM.createExpansionLoc(LHSTok.getLocation(), StartLoc, EndLoc,
 1045     Tok.setLocation(Expansion.getLocWithOffset(RelOffs));
 1066       Tok.setLocation(SM.createMacroArgExpansionLoc(Tok.getLocation(),
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  217   Eof.setLocation(Tok.getLocation());
  320       DefArgEnd.setLocation(LastDefaultArgToken.getEndLoc());
  393     ExceptionSpecEnd.setLocation(LastExceptionSpecToken.getEndLoc());
  500   BodyEnd.setLocation(LastBodyToken.getEndLoc());
tools/clang/lib/Parse/ParseDecl.cpp
  213       Eof.setLocation(Tok.getLocation());
 1483   AttrEnd.setLocation(Tok.getLocation());
tools/clang/lib/Parse/ParseDeclCXX.cpp
 1054   Tok.setLocation(StartLoc);
 3395   Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation));
 4273     Toks[0].setLocation(StartLoc);
tools/clang/lib/Parse/ParseExprCXX.cpp
   66   ColonToken.setLocation(ColonToken.getLocation().getLocWithOffset(-1));
 1029             Tok.setLocation(StartLoc);
 3471   AttrEnd.setLocation(Tok.getLocation());
tools/clang/lib/Parse/ParseObjc.cpp
 1939         Tok.setLocation(Tok.getLocation().getLocWithOffset(-1));
 3648   Eof.setLocation(OrigLoc);
tools/clang/lib/Parse/ParsePragma.cpp
  117     Toks[0].setLocation(Tok.getLocation());
  965       Toks[0].setLocation(Tok.getLocation());
 1627   Toks[0].setLocation(VisLoc);
 1742   Toks[0].setLocation(PackLoc);
 1785   Toks[0].setLocation(MSStructTok.getLocation());
 1902   Toks[0].setLocation(FirstTok.getLocation());
 1996     pragmaUnusedTok.setLocation(UnusedLoc);
 2045     pragmaUnusedTok.setLocation(WeakLoc);
 2057     pragmaUnusedTok.setLocation(WeakLoc);
 2102   pragmaRedefTok.setLocation(RedefLoc);
 2121   Toks[0].setLocation(Tok.getLocation());
 2184   Toks[0].setLocation(NameLoc);
 2218   Tok.setLocation(Introducer.Loc);
 2239   Tok.setLocation(EodLoc);
 2339   AnnotTok.setLocation(PointersToMembersLoc);
 2431   AnnotTok.setLocation(VtorDispLoc);
 2447   AnnotTok.setLocation(Tok.getLocation());
 2732     FPTok.setLocation(PragmaName.getLocation());
 2805   EOFTok.setLocation(Tok.getLocation());
 2917     LoopHintTok.setLocation(PragmaName.getLocation());
 3004   TokenArray[0].setLocation(PragmaName.getLocation());
 3261     EOFTok.setLocation(EndLoc);
 3276   TokenArray[0].setLocation(FirstToken.getLocation());
tools/clang/lib/Parse/ParseTemplate.cpp
  443     Tok.setLocation(Tok.getLocation().getLocWithOffset(1));
  980   Greater.setLocation(RAngleLoc);
  998   Tok.setLocation(AfterGreaterLoc);
 1153       Tok.setLocation(SS.getBeginLoc());
 1155       Tok.setLocation(TemplateKWLoc);
 1157       Tok.setLocation(TemplateNameLoc);
 1179       Tok.setLocation(TemplateKWLoc);
 1181       Tok.setLocation(TemplateNameLoc);
 1232     Tok.setLocation(TemplateId->SS.getBeginLoc());
tools/clang/lib/Parse/Parser.cpp
 1665     Tok.setLocation(BeginLoc);
 1675       Tok.setLocation(SS.getBeginLoc());
 1682     Tok.setLocation(NameLoc);
 1695     Tok.setLocation(NameLoc);
 1860     Tok.setLocation(TypenameLoc);
 1916       Tok.setLocation(BeginLoc);
tools/clang/lib/Rewrite/TokenRewriter.cpp
   91   Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling));
tools/clang/lib/Sema/SemaExpr.cpp
 2313           KeywordReplacement->setLocation(BestTC.getCorrectionRange().getBegin());
tools/clang/lib/Serialization/ASTReader.cpp
 1663   Tok.setLocation(ReadSourceLocation(F, Record, Idx));
tools/clang/tools/libclang/CIndex.cpp
 7512           Tok.setLocation(CXXUnit->mapLocationToPreamble(SaveLoc));
 7515           Tok.setLocation(SaveLoc);