We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4957391 commit d618b40Copy full SHA for d618b40
clang/test/Analysis/cxx23-assume-attribute.cpp
@@ -73,4 +73,5 @@ int assume_and_fallthrough_at_the_same_attrstmt(int a, int b) {
73
void assume_opaque_gh151854_no_crash() {
74
extern bool opaque();
75
[[assume(opaque())]]; // no-crash
76
+ // expected-warning@-1 {{assumption is ignored because it contains (potential) side-effects}}
77
}
0 commit comments