aaron.ballman marked an inline comment as done.
aaron.ballman added inline comments.
================
Comment at: test/SemaCXX/atomic-type.cpp:5
template<typename T> struct atomic {
- _Atomic(T) value;
+ _Atomic(T) value; // expected-error {{field has incomplete type
'_Atomic(user<int>::inner)'}}
----------------
rsmith wrote:
> This is a bug. You need to teach `RequireCompleteType` to look through atomic
> types when looking for a class type to instantiate.
Thank you for the explanation -- I think I've addressed this in the latest
patch.
https://reviews.llvm.org/D46112
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits