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

            Bug ID: 16811
           Summary: a static analysis check for properly matched
                    va_start()/va_end() would be useful
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

>From the OS X man page for va_end:

"Note that each call to va_start() must be matched by a call to va_end(), from
within the same function."

It would be nice if the static analyzer checked if this was done correctly for
every va_start() call and warned about missing or extra calls to va_end().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to