Go to file
Jonas Hahnfeld 64a9e3c530 [OpenMP] Generate better diagnostics for cancel and cancellation point
checkNestingOfRegions uses CancelRegion to determine whether cancel and
cancellation point are valid in the given nesting. This leads to unuseful
diagnostics if CancelRegion is invalid. The given test case has produced:
  region cannot be closely nested inside 'parallel' region

As a solution, introduce checkCancelRegion and call it first to get the
expected error:
  one of 'for', 'parallel', 'sections' or 'taskgroup' is expected

Differential Revision: https://reviews.llvm.org/D30135

llvm-svn: 295808
2017-02-22 06:49:10 +00:00
clang [OpenMP] Generate better diagnostics for cancel and cancellation point 2017-02-22 06:49:10 +00:00
clang-tools-extra [clang-tidy] Reword the "code outside header guard" warning. 2017-02-21 11:25:45 +00:00
compiler-rt Re-commit of r295318, which was reverted due to AArch64 flakiness. Moving the test to Darwin only. 2017-02-22 01:13:34 +00:00
debuginfo-tests
libclc Move BufferPtr into the block where it it being used 2017-02-12 21:33:49 +00:00
libcxx Revert "threading_support: make __thread_sleep_for be alertable" 2017-02-18 19:28:43 +00:00
libcxxabi [CMake][libcxxabi] Update the libc++ test module path 2017-02-18 04:37:59 +00:00
libunwind [libunwind][CMake] Use libc++ headers when available 2017-02-16 05:18:08 +00:00
lld Attempt to placate MSVC buildbot. 2017-02-22 00:32:56 +00:00
lldb Mark TestDarwinLogBasic.py as an xfail because the logging is 2017-02-22 02:10:00 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Use const-ref in range-loop for to avoid copying pairs of std::string 2017-02-22 06:34:04 +00:00
openmp [stats] add stats-gathering for static_steal scheduling method 2017-02-17 17:06:16 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DependenceInfo] Simplify creation and subsequent use of AccessSchedule [NFC] 2017-02-21 15:38:31 +00:00