From 161980509935cfaf1f6ff57c821bb8e6c4ecb3ee Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Tue, 8 Nov 2016 18:30:52 +0000 Subject: [PATCH] Revert "Remove now unnecessary FormatRewriterContext." This reverts commit r286262. I accidentally committed it without all of the changes. llvm-svn: 286264 --- clang/lib/Index/CommentToXML.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Index/CommentToXML.cpp b/clang/lib/Index/CommentToXML.cpp index fa3d029..4210b89 100644 --- a/clang/lib/Index/CommentToXML.cpp +++ b/clang/lib/Index/CommentToXML.cpp @@ -535,6 +535,7 @@ public: SimpleFormatContext &SFC, unsigned FUID) : FC(FC), Result(Str), Traits(Traits), SM(SM), + FormatRewriterContext(SFC), FormatInMemoryUniqueId(FUID) { } // Inline content. @@ -573,6 +574,7 @@ private: const CommandTraits &Traits; const SourceManager &SM; + SimpleFormatContext &FormatRewriterContext; unsigned FormatInMemoryUniqueId; }; -- 2.7.4