[clang] [CUDA/HIP] Do not check function calls in discarded statement (PR #194606)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 05:35:01 PDT 2026
================
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s --std=c++11 -triple nvptx-unknown-unknown -fcuda-is-device \
+// RUN: %clang_cc1 %s --std=c++17 -triple nvptx-unknown-unknown -fcuda-is-device \
----------------
cor3ntin wrote:
hum, can you explain that change? If the new test use c++17 features it's better to add a second run line and to put the new test in a #if __cpluplus > 201703 block so as to not lose coverage
https://github.com/llvm/llvm-project/pull/194606
More information about the cfe-commits
mailing list