[cfe-commits] r154499 - in /cfe/trunk: lib/Sema/SemaOverload.cpp test/CodeGenCXX/atomicinit.cpp

Douglas Gregor dgregor at apple.com
Wed Apr 11 08:58:54 PDT 2012


On Apr 11, 2012, at 8:54 AM, Chandler Carruth <chandlerc at google.com> wrote:

> On Wed, Apr 11, 2012 at 4:51 PM, David Chisnall <csdavec at swan.ac.uk> wrote:
> On 11 Apr 2012, at 16:46, Chandler Carruth wrote:
> 
> > It seems like this should get an ext-warn...
> 
> In which case we'd get a load of them for anything using libc++.
> 
> No? System headers suppress warnings fer exactly this reason.
>  

I don't think this should be an ext-warn. If we're to ext-warn about C11 _Atomics in C++, we should do so at the point where one writes _Atomic in the source, not for each use of the _Atomic.

	- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120411/8cd3cfb0/attachment.html>


More information about the cfe-commits mailing list