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

           Summary: Sema::ActOnAsmStmt() is called before template
                    instantiation
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=7221)
 --> (http://llvm.org/bugs/attachment.cgi?id=7221)
An example showing inline assembly and CRTP usage.

Sema::ActOnAsmStmt() performs type checking on the inline assembly. It is
currently called when the templated class method is declared, not when the
template class is instantiated, causing problem with Curiously Recurring
Template Pattern usage because it is not able to reduce dependent type.

liulk

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to