diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-04-20 13:37:27 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-04-20 13:37:27 +0000 |
commit | e48c1b564f6db5a4d09c9b99c92c83523e8dcdeb (patch) | |
tree | bf823cca43cac9f5bf22f0f7f10e039c9aba52d1 /clang/lib/Index/CommentToXML.cpp | |
parent | bfbdebd00ed4c88b95fd1755003dce00561f8c71 (diff) | |
download | bcm5719-llvm-e48c1b564f6db5a4d09c9b99c92c83523e8dcdeb.tar.gz bcm5719-llvm-e48c1b564f6db5a4d09c9b99c92c83523e8dcdeb.zip |
Delete unused IncompleteFormat variable, NFCi.
llvm-svn: 300841
Diffstat (limited to 'clang/lib/Index/CommentToXML.cpp')
-rw-r--r-- | clang/lib/Index/CommentToXML.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Index/CommentToXML.cpp b/clang/lib/Index/CommentToXML.cpp index 08acc96c4ef..e568c838b7b 100644 --- a/clang/lib/Index/CommentToXML.cpp +++ b/clang/lib/Index/CommentToXML.cpp @@ -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; |