[clang] c585a44 - [Clang] Use C++17 in constant-builtins-fmax.cpp test

Evgeny Shulgin via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 14:31:59 PDT 2022


Author: Evgeny Shulgin
Date: 2022-10-07T21:31:38Z
New Revision: c585a44651f485c1a10fefdc6625ad998c05c61c

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

LOG: [Clang] Use C++17 in constant-builtins-fmax.cpp test

Add `-std=c++17` to the test so that buildbot won't fail

Reviewed By: efriedma

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

Added: 
    

Modified: 
    clang/test/Sema/constant-builtins-fmax.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/constant-builtins-fmax.cpp b/clang/test/Sema/constant-builtins-fmax.cpp
index f44c63af94cf..c2fd97a4df63 100644
--- a/clang/test/Sema/constant-builtins-fmax.cpp
+++ b/clang/test/Sema/constant-builtins-fmax.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify %s
 // expected-no-diagnostics
 
 constexpr double NaN = __builtin_nan("");


        


More information about the cfe-commits mailing list