]> granicus.if.org Git - clang/commitdiff
Apply review comment from Jordan Rose.
authorManuel Klimek <klimek@google.com>
Thu, 24 May 2012 12:46:43 +0000 (12:46 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 24 May 2012 12:46:43 +0000 (12:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157387 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Tooling/Refactoring.h

index 36b844638be6458b3b82ab79adb56afc4f16eff4..56509a61d59600ca9117cea8c2e88b78b8082046 100644 (file)
@@ -68,7 +68,7 @@ public:
 
   /// \brief Accessors.
   /// @{
-  std::string getFilePath() const { return FilePath; }
+  StringRef getFilePath() const { return FilePath; }
   unsigned getOffset() const { return Offset; }
   unsigned getLength() const { return Length; }
   /// @}