sbenza added inline comments.

================
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp:27
@@ +26,3 @@
+template <typename T>
+void CallFooIfAvailableImpl(T& t, ...) {
+}
----------------
You would still warn on the callers of this.
Maybe we should ignore any call if the variadic part is a single argument with 
value 0, which is what is commonly used for SFINAE checks.


http://reviews.llvm.org/D13787



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to