Delete unused IncompleteFormat variable, NFCi.
authorKrasimir Georgiev <krasimir@google.com>
Thu, 20 Apr 2017 13:37:27 +0000 (13:37 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Thu, 20 Apr 2017 13:37:27 +0000 (13:37 +0000)
llvm-svn: 300841

clang/lib/Index/CommentToXML.cpp

index 08acc96..e568c83 100644 (file)
@@ -592,12 +592,10 @@ void CommentASTToXMLConverter::formatTextOfDeclaration(
   unsigned Offset = 0;
   unsigned Length = Declaration.size();
 
-  bool IncompleteFormat = false;
   format::FormatStyle Style = format::getLLVMStyle();
   Style.FixNamespaceComments = false;
   tooling::Replacements Replaces =
-      reformat(Style, StringDecl, tooling::Range(Offset, Length), "xmldecl.xd",
-               &IncompleteFormat);
+      reformat(Style, StringDecl, tooling::Range(Offset, Length), "xmldecl.xd");
   auto FormattedStringDecl = applyAllReplacements(StringDecl, Replaces);
   if (static_cast<bool>(FormattedStringDecl)) {
     Declaration = *FormattedStringDecl;