Fix newline handling in clang-query parser
authorStephen Kelly <steveire@gmail.com>
Sun, 29 Dec 2019 14:48:47 +0000 (14:48 +0000)
committerStephen Kelly <steveire@gmail.com>
Sun, 29 Dec 2019 14:58:56 +0000 (14:58 +0000)
commit544f200c785f0314949ba3b8d1c51f65bf8d7761
treeaf4c871751d544add5732be8137e8b77b8fe4d4a
parentdc93540acbf047cf54052568d2826d1a06df025e
Fix newline handling in clang-query parser

Don't prematurely remove characters from the end of the string
clang-tools-extra/clang-query/QueryParser.cpp
clang-tools-extra/unittests/clang-query/QueryParserTest.cpp