[LLVMbugs] [Bug 13237] scan-build doesn't understand -isystem/DIR

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 19 09:19:31 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=13237

showard314 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
           Assignee|kremenek at apple.com          |showard314 at gmail.com

--- Comment #6 from showard314 at gmail.com ---
Created attachment 14078
  --> https://llvm.org/bugs/attachment.cgi?id=14078&action=edit
allow for both space and no space after -isystem

I noticed that in
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?sortby=rev&r1=225039&r2=227946&pathrev=227946

'-isystem' => 1,
was removed from %CompileOptionMap

that will break "-isystem <DIR>" but allow "-isystem<DIR>"

"-isystem <DIR>" should remain. The gcc docs say "-isystem <DIR>" is to be
used, but some build systems use "-isystem<DIR>"

attached is a patch to for that. Thanks

-- 
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/20150319/a5670eca/attachment.html>


More information about the llvm-bugs mailing list