[PATCH] D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test
Evgeny Shulgin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 7 13:55:47 PDT 2022
Izaron created this revision.
Izaron added reviewers: efriedma, jcranmer-intel, aaron.ballman, cor3ntin.
Herald added a project: All.
Izaron requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Add `-std=c++17` to the test so that buildbot won't fail
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135486
Files:
clang/test/Sema/constant-builtins-fmax.cpp
Index: clang/test/Sema/constant-builtins-fmax.cpp
===================================================================
--- clang/test/Sema/constant-builtins-fmax.cpp
+++ 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("");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135486.466170.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221007/652e9f22/attachment.bin>
More information about the cfe-commits
mailing list