[LLVMbugs] [Bug 16584] New: return a struct using uniform-initialization fails if type conversion is necessary

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 10 04:49:55 PDT 2013


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

            Bug ID: 16584
           Summary: return a struct using uniform-initialization fails if
                    type conversion is necessary
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: npl at chello.at
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10849
  --> http://llvm.org/bugs/attachment.cgi?id=10849&action=edit
code generating the bug

Im using Clang 3.3 on Debian Wheezy, the code below compiles fine, but the
analyser crashes. I believe the implicit cast from nullptr_t to void * is the
issue

scan-build clang -c -std=c++11 analyserretfailure.cpp

-- 
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/20130710/ee5bae66/attachment.html>


More information about the llvm-bugs mailing list