[PATCH] [OPENMP] Fix for parsing OpenMP directives with extra braces, brackets and parens
Alexey Bataev
a.bataev at hotmail.com
Sun Oct 6 22:11:47 PDT 2013
Hi doug.gregor, gribozavr, cbergstrom, hfinkel, wwwwpan,
Added parameter for SkipUntil() family functions to skip counting braces, brackets and parens. Without these changes the parsing process cannot recover correctly if some extra parens, brackets or braces are found in OpenMP directives.
http://llvm-reviews.chandlerc.com/D1847
Files:
test/OpenMP/parallel_messages.cpp
test/OpenMP/threadprivate_messages.cpp
include/clang/Parse/Parser.h
lib/Parse/RAIIObjectsForParser.h
lib/Parse/ParseOpenMP.cpp
lib/Parse/Parser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1847.1.patch
Type: text/x-patch
Size: 17021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131006/b8bcbfa9/attachment.bin>
More information about the cfe-commits
mailing list