[LLVMbugs] [Bug 20238] New: 'volatile' keyword permitted before destructor declaration

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 7 23:49:30 PDT 2014


            Bug ID: 20238
           Summary: 'volatile' keyword permitted before destructor
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

struct A { volatile ~A(); };

I don't see why this could be valid, destructors don't have return types.

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/20140708/4f25c435/attachment.html>

More information about the llvm-bugs mailing list