[LLVMbugs] [Bug 10864] New: Sema::ActOnAsmStmt() is called before template instantiation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 5 08:59:04 PDT 2011


           Summary: Sema::ActOnAsmStmt() is called before template
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: liulk at likai.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

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.


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