[LLVMbugs] [Bug 13791] New: __thiscall should not be specified outside of a class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 7 05:38:39 PDT 2012


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

             Bug #: 13791
           Summary: __thiscall should not be specified outside of a class
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: ASSIGNED
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: aaron at aaronballman.com
        ReportedBy: aaron at aaronballman.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


In MSVC, using __thiscall outside of a class is expressly prohibited via the
error message: error C3865: '__thiscall' : can only be used on native member
functions

We allow it regardless without diagnostic.

-- 
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