Issue 156809
Summary Clang rejects attributes in constructor argument lists in C++03
Labels clang:frontend, rejects-valid
Assignees
Reporter philnik777
    Clang currently rejects the following code in C++03, even though it should be perfectly fine:
```
struct S {
  S([[clang::lifetimebound]] int&) {}
};
```
Interestingly, it's perfectly happy with the same thing anywhere outside a constructor AFACIT.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to