aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2012-09-13 12:44:47 +0000
committerManuel Klimek <klimek@google.com>2012-09-13 12:44:47 +0000
commit30c8a1f79f6d0b61235f5c2762c9077af70d426d (patch)
tree4e097d0ac68646895e9d0abb4976c4db125b829f
parent127ff2ea6440c3da4b47f9c8b3b190254a97e7b5 (diff)
Add missing accessor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163792 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Tooling/Refactoring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Tooling/Refactoring.h b/include/clang/Tooling/Refactoring.h
index 0e42a0ec64..aaffc1a29e 100644
--- a/include/clang/Tooling/Refactoring.h
+++ b/include/clang/Tooling/Refactoring.h
@@ -74,6 +74,7 @@ public:
StringRef getFilePath() const { return FilePath; }
unsigned getOffset() const { return Offset; }
unsigned getLength() const { return Length; }
+ StringRef getReplacementText() const { return ReplacementText; }
/// @}
/// \brief Applies the replacement on the Rewriter.