summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/CommentToXML.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-11-08 18:30:52 +0000
committerDaniel Jasper <djasper@google.com>2016-11-08 18:30:52 +0000
commit161980509935cfaf1f6ff57c821bb8e6c4ecb3ee (patch)
tree2c8668af159713b79bc0d9f10e002a325d2be41a /clang/lib/Index/CommentToXML.cpp
parentd2148caffc1f8aa975e03370e6b441169d424625 (diff)
downloadbcm5719-llvm-161980509935cfaf1f6ff57c821bb8e6c4ecb3ee.tar.gz
bcm5719-llvm-161980509935cfaf1f6ff57c821bb8e6c4ecb3ee.zip
Revert "Remove now unnecessary FormatRewriterContext."
This reverts commit r286262. I accidentally committed it without all of the changes. llvm-svn: 286264
Diffstat (limited to 'clang/lib/Index/CommentToXML.cpp')
-rw-r--r--clang/lib/Index/CommentToXML.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Index/CommentToXML.cpp b/clang/lib/Index/CommentToXML.cpp
index fa3d029a364..4210b897c3a 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;
};
OpenPOWER on IntegriCloud