[PATCH] D34523: AST: mangle BlockDecls under MS ABI

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 15:09:34 PDT 2017

efriedma added a comment.

>   How do we end up in a state where the block invocation function is referenced external to the TU?

ODR allows certain definitions, like class definitions and inline function definitions, to be written in multiple translation units.  See http://itanium-cxx-abi.github.io/cxx-abi/abi.html#closure-types , specifically the list of cases where lambda types are required to correspond.



More information about the cfe-commits mailing list