[LLVMbugs] [Bug 14243] New: scan-build should not report compiler errors as analyzer failures

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 2 09:37:38 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14243

             Bug #: 14243
           Summary: scan-build should not report compiler errors as
                    analyzer failures
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: jordan_rose at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Currently, if a file can't be parsed, it's reported as a "failure" by
scan-build. In the past, this was most likely due to Clang's incomplete support
for various esoteric language features (or even "C++" if you go back far
enough), but today the compiler errors are usually valid errors or the result
of other compilers being more permissive than Clang.

We should
- not report these as failures of the analyzer
- not suggest filing a bug report
- report the compiler errors in some useful way.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list