[PATCH] D38630: Avoid 'unused param' warnings for !_LIBCPP_HAS_CATOPEN
Eric Fiselier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 11:46:03 PDT 2017
EricWF accepted this revision.
EricWF added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/include/locale:3552
#else // !_LIBCPP_HAS_CATOPEN
+ (void) __nm;
return -1;
----------------
Just to make it explicit, maybe add a `// intentionally unused` comment beside the first void cast in each section?
Repository:
rL LLVM
https://reviews.llvm.org/D38630
More information about the llvm-commits
mailing list