Fix handling of newlines in clang-query
authorStephen Kelly <steveire@gmail.com>
Sun, 29 Dec 2019 14:38:33 +0000 (14:38 +0000)
committerStephen Kelly <steveire@gmail.com>
Sun, 29 Dec 2019 14:58:56 +0000 (14:58 +0000)
commitdc93540acbf047cf54052568d2826d1a06df025e
treeb3130309b9a8e6267d852a937d434befd61eb412
parentef4febd85b543afd264dda34c750b8515c4754e2
Fix handling of newlines in clang-query

Replace assert with diagnostic for missing newline.
clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
clang/lib/ASTMatchers/Dynamic/Parser.cpp