Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Parse/ParseStmt.cpp | ||
|---|---|---|
| 1278–1279 | Can this be triggered by other forms of syntax than labels? e.g., for ( auto
a :
whatever) {}
struct S {
int
a:
1
};
// or, with contract attributes
[[
pre :
true]] | |
| clang/lib/Parse/ParseStmt.cpp | ||
|---|---|---|
| 1278–1279 | none of them are valid beginning of statements so they won't occur here. and worse case this will only disable the warning. | |
Can this be triggered by other forms of syntax than labels? e.g.,
for ( auto a : whatever) {} struct S { int a: 1 }; // or, with contract attributes [[ pre : true]]