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)
llvm-svn: 157387

clang/include/clang/Tooling/Refactoring.h

index 36b8446..56509a6 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; }
   /// @}