From: Manuel Klimek Date: Thu, 13 Sep 2012 12:44:47 +0000 (+0000) Subject: Add missing accessor. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30c8a1f79f6d0b61235f5c2762c9077af70d426d;p=clang Add missing accessor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163792 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.