vsavchenko added a comment.

In D100955#4054569 <https://reviews.llvm.org/D100955#4054569>, @thakis wrote:

> Can you say a few words on _why_ this is emitted in only Objective-C? What's 
> missing for Objective-C++? I was surprised that this warning fired in a .m 
> file but not in a .mm file.

Technically there is nothing that prevents us from supporting Objective-C++, 
but the warning implementation will need to handle it correctly. Currently, it 
doesn't support lambda expressions and C++ exceptions from the top of my head. 
Probably there are more language constructs that can cause incorrect warnings. 
Long story short, it needs additional logic and testing.

Cheers!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100955/new/

https://reviews.llvm.org/D100955

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D100955: [-Wcall... Nico Weber via Phabricator via cfe-commits
    • [PATCH] D100955: [-... Valeriy Savchenko via Phabricator via cfe-commits

Reply via email to