aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2012-05-24 12:46:43 +0000
committerManuel Klimek <klimek@google.com>2012-05-24 12:46:43 +0000
commitb53bf007307908ad1750956009d1f0b313ac985d (patch)
treed74e4c9305bac2d68f7f036165b330b8d90a4bb8
parentc0bb3127607a7588bdeda8aedc137cc130fa9bed (diff)
Apply review comment from Jordan Rose.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157387 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Tooling/Refactoring.h2
1 files changed, 1 insertions, 1 deletions
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; }
/// @}