erik.pilkington added a comment.

In D58797#1443411 <https://reviews.llvm.org/D58797#1443411>, @efriedma wrote:
> For that particular case, I think we could suppress the false positive using 
> DiagRuntimeBehavior.  How many total false positives are we talking about, 
> and how many can the compiler statically prove are unreachable?


Sure, that seems like a perfect fit, I added it in r357041. There are only two 
false-positives IIUC, and they're both immediately guarded by an `if (sizeof(x) 
== sizeof(y))`.


Repository:
  rC Clang

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

https://reviews.llvm.org/D58797



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

Reply via email to