[llvm-bugs] [Bug 30529] clang generates warnings if use preprocessed files.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 26 14:24:37 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30529
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution|--- |WONTFIX
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
We do not consider this to be a bug. We have heuristics in our warnings that
depend on whether the tokens come from a macro expansion, so it is expected
that preprocessed source will sometimes produce different warnings.
If you want to avoid this, use -E -frewrite-includes instead of just -E.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160926/885077c2/attachment.html>
More information about the llvm-bugs
mailing list