projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462f73e
)
[clang][Interp] Add missing static_assert messages
author
Timm Bäder
<tbaeder@redhat.com>
Thu, 6 Apr 2023 10:03:45 +0000
(12:03 +0200)
committer
Timm Bäder
<tbaeder@redhat.com>
Thu, 6 Apr 2023 10:03:45 +0000
(12:03 +0200)
This broke build bots, e.g:
https://lab.llvm.org/buildbot/#/builders/139/builds/38697
clang/test/AST/Interp/floats.cpp
patch
|
blob
|
history
diff --git
a/clang/test/AST/Interp/floats.cpp
b/clang/test/AST/Interp/floats.cpp
index
3b392d3
..
71f585e
100644
(file)
--- a/
clang/test/AST/Interp/floats.cpp
+++ b/
clang/test/AST/Interp/floats.cpp
@@
-87,8
+87,8
@@
namespace ZeroInit {
};
constexpr A<float> a{12};
- static_assert(a.f == 0.0f);
+ static_assert(a.f == 0.0f
, ""
);
constexpr A<double> b{12};
- static_assert(a.f == 0.0);
+ static_assert(a.f == 0.0
, ""
);
};