[PATCH] D28889: Change where we handle arg-dependent diagnose_if attributes

Richard Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 11:31:59 PST 2017


rsmith added inline comments.


================
Comment at: include/clang/Sema/Overload.h:758
     /// instead.
+    /// FIXME: Now that it only alloates ImplicitConversionSequences, do we want
+    /// to un-generalize this?
----------------
Typo "alloates"


================
Comment at: lib/Sema/SemaChecking.cpp:2490
             CallType);
+  diagnoseArgDependentDiagnoseIfAttrs(FDecl, /*ThisArg=*/nullptr, Args, Loc);
 }
----------------
Can this be moved inside `checkCall`?


https://reviews.llvm.org/D28889





More information about the cfe-commits mailing list