[llvm-bugs] [Bug 44530] New: clang-cl --analyze will create temporary files

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 12 13:54:31 PST 2020


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

            Bug ID: 44530
           Summary: clang-cl --analyze will create temporary files
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: tiagomacarios at gmail.com
                CC: dcoughlin at apple.com, llvm-bugs at lists.llvm.org

Somewhat related to
https://reviews.llvm.org/rGd129aa1d5369781deff6c6b854cb612e160d3fb2

Running `clang-cl --analyze` will create a temporary plist file and our build
system sees this as an error.

C:\temp>dir /b
a.cpp

C:\temp>type a.cpp
int main(){}

C:\temp>clang-cl --analyze a.cpp

C:\temp>dir /b
a.cpp
a.plist

C:\temp>type a.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>clang_version</key>
<string>clang version 9.0.0 (tags/RELEASE_900/final)</string>
 <key>diagnostics</key>
 <array>
 </array>
 <key>files</key>
 <array>
 </array>
</dict>
</plist>

-- 
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/20200112/3560bf33/attachment.html>


More information about the llvm-bugs mailing list