[PATCH] D79945: [Sema] Comparison of pointers to complete and incomplete types

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 20 16:01:01 PDT 2020


efriedma added a comment.

Oh, wait, I was looking at the C11 version.  This diagnostic needs to be restricted to C99 or earlier, and only to relational comparisons, I think.

And given it isn't really a valuable diagnostic, I think it should be off by default (an "Extension" diagnostic).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79945





More information about the cfe-commits mailing list