]> granicus.if.org Git - clang/commit
[OPENMP] Fix parsing of the directives with inner directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 18:36:44 +0000 (18:36 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 18:36:44 +0000 (18:36 +0000)
commitf45c4ab9d7eac20e1cafbe9a4989c52758ac7652
treeca150ab92d5915d17f7bb5e8f34c948a9115b360
parentf942b699bfe6d39030317dfa9a8831bf02ad1b50
[OPENMP] Fix parsing of the directives with inner directives.

The parsing may lead to compiler hanging because of the incorrect
processing of inner OpenMP pragmas.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325369 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseOpenMP.cpp
lib/Parse/ParsePragma.cpp
test/OpenMP/openmp_check.cpp