[PATCH] D17362: [Sema] PR23090 Crash when return type or parameter types for extern "C" functions don't have external linkage

don hinton via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 20 14:24:36 PST 2016


hintonda added a comment.

This change breaks a couple tests in test/SemaCXX/linkage.cpp where we no longer allow mixing internal and external linkage, i.e., extern "C" functions have external linkage no matter where they are declared, but return types and parameters declared in anonymous namespaces have internal linkage.

Not yet sure how to go about fixing those, but one was based on PR9316, however, the test is more complicated and  is invalid -- so we don't generate code.


http://reviews.llvm.org/D17362





More information about the cfe-commits mailing list