majnemer accepted this revision.
majnemer added a comment.
This revision is now accepted and ready to land.

LGTM with nits



================
Comment at: lib/Sema/SemaChecking.cpp:110
+    S.Diag(ValArg->getLocStart(), diag::err_typecheck_cond_expect_float)
+      << ValArg->getType() << ValArg->getSourceRange();
+    return true;
----------------
Can you change this `ValArg->getType()` to `Ty`?


https://reviews.llvm.org/D22334



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

Reply via email to