[PATCH] D38954: [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 25 14:34:31 PDT 2017
lebedev.ri updated this revision to Diff 120316.
lebedev.ri added a comment.
Add `Diags.isIgnored()` early return + move `C++11` early return earlier too.
At least partially should help avoid the penalty of `findMacroSpelling()`
I don't think i see any way to avoid `findMacroSpelling()` :/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5642 bytes
Desc: not available
More information about the cfe-commits