[clang] 985f5af - Silence C++17 extension warnings; NFC

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 5 08:35:13 PDT 2023


Author: Aaron Ballman
Date: 2023-06-05T11:35:03-04:00
New Revision: 985f5afcd7e521c1c590312c2080387f2e518b3e

URL: https://github.com/llvm/llvm-project/commit/985f5afcd7e521c1c590312c2080387f2e518b3e
DIFF: https://github.com/llvm/llvm-project/commit/985f5afcd7e521c1c590312c2080387f2e518b3e.diff

LOG: Silence C++17 extension warnings; NFC

Amends 12728e144994efe84715f4e5dbb8c3104e9f0b5a
Addresses issues found by:
https://lab.llvm.org/buildbot/#/builders/216/builds/22308

Added: 
    

Modified: 
    clang/test/Parser/generic-selection-type-extension.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Parser/generic-selection-type-extension.c b/clang/test/Parser/generic-selection-type-extension.c
index f17214fa85bde..de9bc122e912d 100644
--- a/clang/test/Parser/generic-selection-type-extension.c
+++ b/clang/test/Parser/generic-selection-type-extension.c
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -std=c2x -fsyntax-only -verify -Wno-unused %s
-// RUN: %clang_cc1 -fsyntax-only -verify=expected,cpp -Wno-unused -x c++ %s
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,cpp -Wno-unused -x c++ -std=c++17 %s
 
 // Test various parsing situations for the Clang extension to _Generic which
 // accepts a type name instead of an expression as the first operand.


        


More information about the cfe-commits mailing list