JonasToth added a comment. Could you please add a test, to show that non-templated function are still diagnosed correctly? The `isInstantiated` would only apply to templated functions.
Why is the cast to void diagnosed anyway? It is not an argument nor is it used in a function context. Do you have an explaination for that? Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D52135 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits