arphaman added inline comments.

================
Comment at: lib/Sema/SemaChecking.cpp:3497
+        else if (Form == Copy || Form == Xchg) {
+          if (!IsC11 && !IsN)
+            // The value pointer is always dereferenced, a nullptr is 
undefined.
----------------
Nit: might make more sense to check if `ByValType` is a pointer here instead of 
duplicating the `if` condition from above.


Repository:
  rC Clang

https://reviews.llvm.org/D47229



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

Reply via email to