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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits