[PATCH] D25990: Sema: do not warn about unused const vars if main file is a header

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 06:02:29 PDT 2016


bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.

This makes sense. While variable definitions in a header are weird, the warning that they're unused isn't adding any value.


https://reviews.llvm.org/D25990





More information about the cfe-commits mailing list