[LLVMbugs] [Bug 20996] New: crash on invalid return of an object with a deleted destructor
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Sep 18 11:25:47 PDT 2014
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=20996
            Bug ID: 20996
           Summary: crash on invalid return of an object with a deleted
                    destructor
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dblaikie at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified
struct foo {
    foo(int);
    ~foo() = delete;
  };
  foo func() {
    return 1;
  }
Ends up calling clang::Expr::isTemporaryObject on a null Expr*.
-- 
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/20140918/0649fa2c/attachment.html>
    
    
More information about the llvm-bugs
mailing list