Hello,<br><br>I wanted to demo Clang useful warnings and thought of using the newly reworked online demo (thanks Tanya !).<br><br>I put on this code:<br><br><div style="margin-left: 40px;"><span style="font-family: times new roman,serif;">class NotSufficientlyVirtual {</span><br style="font-family: times new roman,serif;">
<span style="font-family: times new roman,serif;">protected:</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">  ~NotSufficientlyVirtual() {}</span><br style="font-family: times new roman,serif;">
<span style="font-family: times new roman,serif;">private:</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">  virtual void foo() {}</span><br style="font-family: times new roman,serif;">
<span style="font-family: times new roman,serif;">};</span><br style="font-family: times new roman,serif;"><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">void erase(NotSufficientlyVirtual* NSV) {</span><br style="font-family: times new roman,serif;">
<span style="font-family: times new roman,serif;">  delete NSV;</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">}</span><br></div><br>Which was supposed to trigger (from DiagnosticSemaKinds.td):<br>
<pre style="font-family: times new roman,serif; margin-left: 40px;">def warn_delete_non_virtual_dtor : Warning<
  "delete called on %0 that has virtual functions but non-virtual destructor">,
  InGroup<DeleteNonVirtualDtor>, DefaultIgnore;</pre>Which normally is part of:<br><pre style="font-family: times new roman,serif; margin-left: 40px;">def Most : DiagGroup<"most", [
    CharSubscript,
    Comment,
    DeleteNonVirtualDtor,</pre>But the warning did not appear, leading me to think that the CGI script does not pass -Wall when invoking Clang.<br><br>I find this quite unfortunate, as Clang has really great diagnostics and the online demo does not, thus, allow one to demonstrate those warnings.<br>
<br>Would it be possible/useful to activate -Wall ? (and perhaps -Wextra) ?<br><br>--Matthieu<br>