summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2017-04-29 09:33:46 +0000
committerNick Lewycky <nicholas@mxc.ca>2017-04-29 09:33:46 +0000
commitf83586caa9df7ebae5226227614513df4af4b402 (patch)
tree8ebf48152d854cd3f5bad7082c96cce5e3d2cbbe /test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
parent299583cf50f1332278f4eef078ffef791ce0f07f (diff)
Remove Sema::CheckForIntOverflow, and instead check all full-expressions.
CheckForIntOverflow used to implement a whitelist of top-level expressions to send to the constant expression evaluator, which handled many more expressions than the CheckForIntOverflow whitelist did. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp')
-rw-r--r--test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp b/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
index f865e0be42..2d99d7d8f4 100644
--- a/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
+++ b/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
@@ -134,9 +134,8 @@ S3 h; // expected-note 2 {{'h' defined here}}
template<class I, class C> int foomain(I argc, C **argv) {
I e(argc);
I g(argc);
- int i; // expected-note {{declared here}} expected-note {{'i' defined here}}
- // expected-note@+2 {{declared here}}
- // expected-note@+1 {{reference to 'i' is not a constant expression}}
+ int i; // expected-note {{'i' defined here}}
+ // expected-note@+1 {{declared here}}
int &j = i;
#pragma omp target