<div dir="ltr">Thanks for the review!<div><br></div><div>I tweaked it a bit so that this only warns on function-type macros in -pedantic mode. That way, the warning can even be used in practice :-)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 10:33 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thakis updated this revision to Diff 44958.<br>
thakis added a comment.<br>
<br>
For function-type macros, make the warning only show up with -pedantic<br>
<br>
<br>
<a href="http://reviews.llvm.org/D15866" rel="noreferrer" target="_blank">http://reviews.llvm.org/D15866</a><br>
<br>
Files:<br>
  include/clang/Basic/DiagnosticGroups.td<br>
  include/clang/Basic/DiagnosticLexKinds.td<br>
  lib/Lex/PPExpressions.cpp<br>
  test/Lexer/cxx-features.cpp<br>
  test/Preprocessor/expr_define_expansion.c<br>
<br>
</blockquote></div><br></div>