[cfe-commits] r157387 - /cfe/trunk/include/clang/Tooling/Refactoring.h

Manuel Klimek klimek at google.com
Thu May 24 05:46:43 PDT 2012


Author: klimek
Date: Thu May 24 07:46:43 2012
New Revision: 157387

URL: http://llvm.org/viewvc/llvm-project?rev=157387&view=rev
Log:
Apply review comment from Jordan Rose.


Modified:
    cfe/trunk/include/clang/Tooling/Refactoring.h

Modified: cfe/trunk/include/clang/Tooling/Refactoring.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Tooling/Refactoring.h?rev=157387&r1=157386&r2=157387&view=diff
==============================================================================
--- cfe/trunk/include/clang/Tooling/Refactoring.h (original)
+++ cfe/trunk/include/clang/Tooling/Refactoring.h Thu May 24 07:46:43 2012
@@ -68,7 +68,7 @@
 
   /// \brief Accessors.
   /// @{
-  std::string getFilePath() const { return FilePath; }
+  StringRef getFilePath() const { return FilePath; }
   unsigned getOffset() const { return Offset; }
   unsigned getLength() const { return Length; }
   /// @}





More information about the cfe-commits mailing list