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

Declarations

tools/clang/include/clang/Lex/Lexer.h
  461   static StringRef getSourceText(CharSourceRange Range,

References

tools/clang/lib/ARCMigrate/Transforms.cpp
  542         str += Lexer::getSourceText(
tools/clang/lib/AST/StmtPrinter.cpp
 1106   StringRef Source = Lexer::getSourceText(
tools/clang/lib/Edit/EditedSource.cpp
  463   return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc),
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  688   StringRef text = Lexer::getSourceText(
tools/clang/lib/Parse/ParseDecl.cpp
  232           Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts());
tools/clang/lib/Sema/SemaCodeComplete.cpp
 2896       Lexer::getSourceText(CharSrcRange, SM, LangOpts, &Invalid);
tools/clang/lib/Sema/SemaExpr.cpp
11205       Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts());
11210       Lexer::getSourceText(XorRange, S.getSourceManager(), S.getLangOpts());
11215   std::string LHSStr = Lexer::getSourceText(
11218   std::string RHSStr = Lexer::getSourceText(
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 2817             Lexer::getSourceText(CharSourceRange::getTokenRange(
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
 1742   std::string ConditionText = Lexer::getSourceText(
 2341         Out << Lexer::getSourceText(R, SM, LO);
 2395           << Lexer::getSourceText(
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  440     return Lexer::getSourceText(Range, AST.getSourceManager(),
tools/clang/lib/Tooling/FixIt.cpp
   22   return Lexer::getSourceText(Range, Context.getSourceManager(),
tools/clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
   23   return Lexer::getSourceText(
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
   92         Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc),
  557           llvm::StringRef ActualName = Lexer::getSourceText(
tools/clang/lib/Tooling/RefactoringCallbacks.cpp
   81       Lexer::getSourceText(CharSourceRange::getTokenRange(To.getSourceRange()),
  217       ToText += Lexer::getSourceText(Source, *Result.SourceManager,
tools/clang/lib/Tooling/Transformer/SourceCode.cpp
   19   return Lexer::getSourceText(Range, Context.getSourceManager(),
tools/clang/tools/clang-import-test/clang-import-test.cpp
  150         StringRef Ref = Lexer::getSourceText(Range, SM, *LangOpts, &Invalid);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  747   llvm::StringRef Code = Lexer::getSourceText(
  797   llvm::StringRef NestedName = Lexer::getSourceText(
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  229         Lexer::getSourceText(Range, CI->getSourceManager(), CI->getLangOpts());
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp
   23       Lexer::getSourceText(CharSourceRange::getCharRange(Range),
tools/clang/tools/extra/clang-move/Move.cpp
  331       Lexer::getSourceText(getFullRange(D), SM, LangOptions());
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   87       Lexer::getSourceText(CharSourceRange::getTokenRange(New),
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
   78   const StringRef NeedleExprCode = Lexer::getSourceText(
   81   const StringRef HaystackExprCode = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp
   28     return (Lexer::getSourceText(
  106   return Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
  119         Lexer::getSourceText(CharSourceRange::getCharRange(
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp
   61     std::string ReplacementText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp
   83   const StringRef StrLenText = Lexer::getSourceText(
   86   const StringRef Arg0Text = Lexer::getSourceText(
   93   const StringRef LHSText = Lexer::getSourceText(
   96   const StringRef RHSText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  144   return Lexer::getSourceText(
  477   StringRef SpaceBeforeStmtStr = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/bugprone/PosixReturnCheck.cpp
   25   return Lexer::getSourceText(CharSourceRange::getTokenRange(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp
   66       StringRef DestTypeString = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp
  128       Lexer::getSourceText(CharSourceRange::getTokenRange(
tools/clang/tools/extra/clang-tidy/google/AvoidNSObjectNewCheck.cpp
   65   return Lexer::getSourceText(CharRange, SM, LangOpts);
tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp
   26         Lexer::getSourceText(CharSourceRange::getCharRange(Range),
tools/clang/tools/extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp
  106     StringRef LHSString(Lexer::getSourceText(
  110     StringRef ArgString(Lexer::getSourceText(
  117     StringRef RHSString(Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  895       StringRef ConstExprText = Lexer::getSourceText(
  904       StringRef ExprText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp
  107   std::string LeftText = clang::Lexer::getSourceText(
  110   std::string RightText = clang::Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp
   60     B.Tokens = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp
   46       Lexer::getSourceText(TextRange, Sources, LangOpts);
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  367   return Lexer::getSourceText(CharSourceRange(Range, true), SourceMgr,
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
   30   StringRef WrittenName = Lexer::getSourceText(
  155   StringRef ExprStr = Lexer::getSourceText(
  282     ArraySizeExpr = Lexer::getSourceText(CharSourceRange::getTokenRange(
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp
  212     std::string ValueStr = Lexer::getSourceText(CharSourceRange::getTokenRange(
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp
   57   StringRef Text = Lexer::getSourceText(CharRange, *Result.SourceManager,
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
  129       Lexer::getSourceText(CharRange, *Result.SourceManager, getLangOpts())
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp
   88   StringRef ContainerText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/ShrinkToFitCheck.cpp
   66           Lexer::getSourceText(CharSourceRange::getTokenRange(
   71       ReplacementText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
  193   StringRef Text = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/UseNoexceptCheck.cpp
  106       << Lexer::getSourceText(CRange, *Result.SourceManager,
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  459   StringRef CharAfterReturnType = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp
   79         Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc),
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp
  142     StringRef ContainerText = Lexer::getSourceText(
  145     StringRef ParamText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  236   llvm::StringRef VarName = Lexer::getSourceText(
  247         Lexer::getSourceText(CharSourceRange::getTokenRange(
  253     StringRef LoopEndSource = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp
   98     StringRef Comment = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
  115       Lexer::getSourceText(CharSourceRange::getTokenRange(E->getSourceRange()),
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
  102   return Lexer::getSourceText(CharSourceRange(Range, true), SourceMgr,
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp
  219         Lexer::getSourceText(CharRange, SM, LangOpts, &InvalidText);
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.h
   67     const StringRef LiteralSourceText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp
  111       Lexer::getSourceText(TextRange, Sources, getLangOpts())
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.cpp
   38         Lexer::getSourceText(CharSourceRange::getTokenRange(ConditionRange),
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
  146   StringRef SmartptrText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
   26   return Lexer::getSourceText(CharSourceRange::getTokenRange(Range),
  301       Lexer::getSourceText(CharRange, *Result.SourceManager,
tools/clang/tools/extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp
   53         Lexer::getSourceText(CharSourceRange::getTokenRange(TokenRange),
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
  133   const StringRef LiteralSourceText = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/utils/ASTUtils.cpp
   52     auto MacroName = Lexer::getSourceText(
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp
  229       StringRef SourceText = Lexer::getSourceText(
tools/clang/tools/extra/clangd/CodeComplete.cpp
  588   llvm::StringRef SpelledSpecifier = Lexer::getSourceText(
tools/clang/tools/extra/clangd/Diagnostics.cpp
  557           Lexer::getSourceText(FixIt.RemoveRange, SM, *LangOpts, &Invalid);
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp
   70           Lexer::getSourceText(CharSourceRange::getCharRange(Range),
tools/clang/unittests/Lex/LexerTest.cpp
   96         Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange(
  314   StringRef text = Lexer::getSourceText(
  344   text = Lexer::getSourceText(
  539   EXPECT_EQ(Lexer::getSourceText(CR, SourceMgr, LangOpts), "MOO"); // Was "MO".
tools/clang/unittests/Lex/PPCallbacksTest.cpp
  488       Lexer::getSourceText(CharSourceRange(Results8[0].ConditionRange, false),
tools/lldb/tools/lldb-instr/Instrument.cpp
  147     StringRef WrittenExpr = Lexer::getSourceText(