[OPENMP] Make clauses closing loc point to right bracket.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 6 Jul 2018 19:35:42 +0000 (19:35 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 6 Jul 2018 19:35:42 +0000 (19:35 +0000)
commitdbc72c9009a3b3d0447f1bf6905fbf0e89986fe4
treeb6f1ca6d958b657634997df4f14685a360702c08
parent3c1b5dbbf10e5de3b4f6534e607ee7785d953c66
[OPENMP] Make clauses closing loc point to right bracket.

For some of the clauses the closing location erroneously points to the
beginning of the next clause rather than on the location of the closing
bracket of the clause.

llvm-svn: 336460
clang/include/clang/Parse/Parser.h
clang/lib/Parse/ParseOpenMP.cpp
clang/test/OpenMP/dump.cpp