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

References

tools/clang/lib/Frontend/FrontendActions.cpp
  455         TheSema.getSourceManager().getPresumedLoc(Inst.Entity->getLocation());
  462         TheSema.getSourceManager().getPresumedLoc(Inst.PointOfInstantiation);
tools/clang/lib/Parse/ParseExprCXX.cpp
 3195                        RBraceLoc, 0, Actions.getSourceManager(), getLangOpts()),
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  116   if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc()))
  338   if (!S.getSourceManager().isInSystemHeader(OpLoc) &&
 1410   SourceManager &SM = S.getSourceManager();
 1674     Warnings.sort(SortDiagBySourceLocation(S.getSourceManager()));
 1894     Warnings.sort(SortDiagBySourceLocation(S.getSourceManager()));
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  650   OpenParLoc.print(OS, SemaRef.getSourceManager());
tools/clang/lib/Sema/DeclSpec.cpp
 1086             S.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I],
 1248       if (S.getSourceManager().isBeforeInTranslationUnit(
tools/clang/lib/Sema/Sema.cpp
   96       SourceManager &SM = S->getSourceManager();
 1060       Diag(getSourceManager().getLocForStartOfFile(
 1061                getSourceManager().getMainFileID()),
 1591   loc = getSourceManager().getExpansionLoc(loc);
tools/clang/lib/Sema/SemaAttr.cpp
  631       Range.getEnd(), tok::comma, S.getSourceManager(), S.getLangOpts(),
tools/clang/lib/Sema/SemaCUDA.cpp
  591     if (!getSourceManager().isInSystemHeader(Match->getLocation())) {
tools/clang/lib/Sema/SemaChecking.cpp
  104   return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts,
 7338   return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(),
 7508   if (S.getSourceManager().isInSystemMacro(Loc))
 9537   SourceManager &SM = S.getSourceManager();
 9660           SourceManager &SM = getSourceManager();
 9936   SourceManager &SM = getSourceManager();
10492         BeginLoc, S.getSourceManager(), S.getLangOpts());
11450         S.getSourceManager().getCharacterData(IntLit->getBeginLoc())[0];
11459         S.getSourceManager().getCharacterData(CC)[0];
12230     const SourceManager &SM = getSourceManager();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 8648       getSourceManager().getFileManager().getVirtualFileSystem();
tools/clang/lib/Sema/SemaDecl.cpp
 4198   SourceManager &SrcMgr = getSourceManager();
 6613       !D.getAsmLabel() && !getSourceManager().isInSystemMacro(
 7351   if (getSourceManager().isInSystemMacro(R.getNameLoc()))
16216           if (getSourceManager().isInSystemHeader(Loc)) {
16586                getSourceManager().isInSystemHeader(FD->getLocation()) &&
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7887           Enclosing, S.getSourceManager(), S.getLangOpts());
 7929               S.getSourceManager().isInSystemHeader(
 8368     const SourceManager &SM = SemaRef.getSourceManager();
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3038   if (getSourceManager().isMacroArgExpansion(Loc))
 3039     SpellingLoc = getSourceManager().getImmediateExpansionRange(Loc).getBegin();
 3040   SpellingLoc = getSourceManager().getSpellingLoc(SpellingLoc);
 3041   if (SpellingLoc.isValid() && getSourceManager().isInSystemHeader(SpellingLoc))
 9278       S.getSourceManager().isInSystemHeader(Loc)) {
10533         getSourceManager().isInSystemHeader(UsingLoc))
14175       !getSourceManager().isInSystemHeader(FnDecl->getLocation())) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
   99   if (receiverTypeIfCall.isNull() && getSourceManager().isInSystemHeader(loc)) {
tools/clang/lib/Sema/SemaExpr.cpp
  174   bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc);
 1594   return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(),
 1685                                            getSourceManager(), getLangOpts())));
 6711       !getSourceManager().isInSystemMacro(LParenLoc))
11205       Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts());
11210       Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts());
11217       S.getSourceManager(), S.getLangOpts());
11220       S.getSourceManager(), S.getLangOpts());
tools/clang/lib/Sema/SemaExprCXX.cpp
  761       !getSourceManager().isInSystemHeader(OpLoc) && !getLangOpts().CUDA) {
 2091           getSourceManager().isInSystemHeader(OperatorNew->getBeginLoc())))) {
 3166         DeleteLoc, tok::l_square, SemaRef.getSourceManager(),
 3594   if (getSourceManager().isInSystemHeader(PointeeRD->getLocation()))
tools/clang/lib/Sema/SemaExprObjC.cpp
 1205       !getSourceManager().isInSystemHeader(Method->getLocation()))
 3572         SourceManager &SM = S.getSourceManager();
 3590     SourceManager &SM = S.getSourceManager();
tools/clang/lib/Sema/SemaInit.cpp
 5314          S.getSourceManager().isInSystemHeader(Init->getExprLoc());
 7663          S.getSourceManager().isAtStartOfImmediateMacroExpansion(ArgLoc)) {
 7664     ArgLoc = S.getSourceManager().getImmediateExpansionRange(ArgLoc).getBegin();
tools/clang/lib/Sema/SemaModule.cpp
  419       getSourceManager().isWrittenInMainFile(DirectiveLoc);
  478   FileID File = getSourceManager().getFileID(EomLoc);
  480   if (EomLoc == getSourceManager().getLocForEndOfFile(File)) {
  482     assert(File != getSourceManager().getMainFileID() &&
  484     DirectiveLoc = getSourceManager().getIncludeLoc(File);
tools/clang/lib/Sema/SemaStmt.cpp
 4060       !getSourceManager().isInSystemHeader(TryLoc) && !getLangOpts().CUDA) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  734       SemaRef.getSourceManager().isInSystemHeader(D->getBeginLoc()))
 4231           !getSourceManager().isInSystemHeader(PatternDecl->getBeginLoc())) {
 4787           !getSourceManager().isInSystemHeader(PatternDecl->getBeginLoc())) {
tools/clang/lib/Sema/SemaType.cpp
 2819             getSourceManager().isBeforeInTranslationUnit(QualLoc, Loc))
 5146                      BeforeThanCompare<SourceLocation>(S.getSourceManager()));
 6099         S.getSourceManager().getImmediateExpansionRange(AttrLoc).getBegin();
 6210               S.getSourceManager().getExpansionLoc(loc),
tools/clang/tools/extra/clangd/CodeComplete.cpp
  812     SourceManager &SrcMgr = S.getSourceManager();
 1280       const auto &SM = Recorder->CCSema->getSourceManager();
 1426       ReplacedRange = halfOpenToRange(Recorder->CCSema->getSourceManager(),
 1430           Recorder->CCSema->getSourceManager(),
 1554               getSymbolID(SemaResult, Recorder->CCSema->getSourceManager())) {
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
   59   clang::SourceManager &SM = S.getSourceManager();