From: Manuel Klimek Date: Thu, 24 May 2012 12:46:43 +0000 (+0000) Subject: Apply review comment from Jordan Rose. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b53bf007307908ad1750956009d1f0b313ac985d;p=clang Apply review comment from Jordan Rose. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157387 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Tooling/Refactoring.h b/include/clang/Tooling/Refactoring.h index 36b844638b..56509a61d5 100644 --- a/include/clang/Tooling/Refactoring.h +++ b/include/clang/Tooling/Refactoring.h @@ -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; } /// @}