]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300841 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Index/CommentToXML.cpp

index 08acc96c4efb6417fc163f084744ea8355885d15..e568c838b7b0f4b2e8cb89e59fd0314f0f5ae4f3 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;