From 024e075597c581d0273751ec36c9c665f4f4f01c Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Thu, 13 Sep 2012 12:44:47 +0000 Subject: [PATCH] Add missing accessor. llvm-svn: 163792 --- clang/include/clang/Tooling/Refactoring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/include/clang/Tooling/Refactoring.h b/clang/include/clang/Tooling/Refactoring.h index 0e42a0ec64fc..aaffc1a29e06 100644 --- a/clang/include/clang/Tooling/Refactoring.h +++ b/clang/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.