]> granicus.if.org Git - clang/commitdiff
Add missing accessor.
authorManuel Klimek <klimek@google.com>
Thu, 13 Sep 2012 12:44:47 +0000 (12:44 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 13 Sep 2012 12:44:47 +0000 (12:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163792 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Tooling/Refactoring.h

index 0e42a0ec64fc485dab851be5c0acc651acbe0241..aaffc1a29e06adb7b7796165f8a5b29d08812eff 100644 (file)
@@ -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.