Skip to content

Sema::ActOnAsmStmt() is called before template instantiation #11236

@llvmbot

Description

@llvmbot
Bugzilla Link 10864
Resolution FIXED
Resolved on Sep 14, 2011 14:20
Version trunk
OS All
Attachments An example showing inline assembly and CRTP usage.
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@efriedma-quic

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions