[PATCH] D48322: [Sema] Discarded statment should be an evaluatable context

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 29 13:19:55 PDT 2018


rsmith added a comment.

Hmm, so this will mean that we can have internal linkage declarations marked `Used` for which there is no definition, and we need to not warn on that.

I think it might be better to avoid marking things used in this case (even though they're still technically odr-used).


Repository:
  rC Clang

https://reviews.llvm.org/D48322





More information about the cfe-commits mailing list