cpplearner marked an inline comment as done.
cpplearner added inline comments.


================
Comment at: clang/test/SemaCXX/constant-expression-cxx1y.cpp:343
     if (a != 7) return false;
-    a *= 3;
     if (a != 21) return false;
----------------
riccibruno wrote:
> Why remove `a *= 3` instead of just adding `a *= 3.1`.
Because adding `a *= 3.1` here will change the result of the whole calculation?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55413/new/

https://reviews.llvm.org/D55413



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

Reply via email to