[PATCH] D37235: Let -Wdelete-non-virtual-dtor fire in system headers too.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 28 16:40:16 PDT 2017
rsmith added inline comments.
================
Comment at: test/SemaCXX/destructor.cpp:27
+#define BE_THE_HEADER
+#include __FILE__
+
----------------
Do we guarantee that `__FILE__` names a path that can be used to include the current file? In other tests, we add `-include %s` to the `RUN:` line to model this situation.
https://reviews.llvm.org/D37235
More information about the cfe-commits
mailing list