Skip to content
Snippets Groups Projects
  • Douglas Gregor's avatar
    9e8c92a9
    Basic support for name mangling of C++11 lambda expressions. Because · 9e8c92a9
    Douglas Gregor authored
    name mangling in the Itanium C++ ABI for lambda expressions is so
    dependent on context, we encode the number used to encode each lambda
    as part of the lambda closure type, and maintain this value within
    Sema.
    
    Note that there are a several pieces still missing:
      - We still get the linkage of lambda expressions wrong
      - We aren't properly numbering or mangling lambda expressions that
      occur in default function arguments or in data member initializers.
      - We aren't (de-)serializing the lambda numbering tables
    
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150982 91177308-0d34-0410-b5e6-96231b3b80d8
    9e8c92a9
    History
    Basic support for name mangling of C++11 lambda expressions. Because
    Douglas Gregor authored
    name mangling in the Itanium C++ ABI for lambda expressions is so
    dependent on context, we encode the number used to encode each lambda
    as part of the lambda closure type, and maintain this value within
    Sema.
    
    Note that there are a several pieces still missing:
      - We still get the linkage of lambda expressions wrong
      - We aren't properly numbering or mangling lambda expressions that
      occur in default function arguments or in data member initializers.
      - We aren't (de-)serializing the lambda numbering tables
    
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150982 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.