]> granicus.if.org Git - clang/commit
Fix clang-format CLion integration bug.
authorEric Liu <ioeric@google.com>
Thu, 2 Nov 2017 12:48:48 +0000 (12:48 +0000)
committerEric Liu <ioeric@google.com>
Thu, 2 Nov 2017 12:48:48 +0000 (12:48 +0000)
commiteb2251ff651ab5e512fcf197b45c31496ad674bd
tree1824804269ce697fd29ca9cac0d9817a629c5d3b
parent4d085086c74a8fbce197f61548f488a63f300933
Fix clang-format CLion integration bug.

CLion's Sax parser threw this error:

Failed to parse clang-format XML replacements. Input: <?xml version='1.0'?>
<replacements xml:space='preserve' incomplete_format='true' line=89>
[...]
[org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 66; Open quote is expected for attribute "line" associated with an  element type  "replacements".]

Patch by Justine Tunney (jart@google.com)!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317205 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-format/ClangFormat.cpp