[PATCH] D28271: [Sema] Get rid of unused default argument to Sema::CheckCallingConvAttr.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 11:03:53 PST 2017


rnk added a comment.

In general we can't get an FD here because we might be in the middle of parsing the declarator. The calls from SemaType.cpp in particular can't actually provide one. They would have to thread through the IsVariadic and IsCXXMethod bools based on syntactic cues (the ellipsis, member pointer declarator chunks, being the appropriate declarator chunk in a record context, i.e. what getCCForDeclaratorChunk does).


https://reviews.llvm.org/D28271





More information about the cfe-commits mailing list