ABataev added inline comments.

================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:5423
+               SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_cond)
+                       << IneqCondIsCanonical << LCDecl;
     return true;
----------------
I would not suggest to rely on the conversion of bool values to integer, better 
to use `IneqCondIsCanonical ? 0 : 1`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66559



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

Reply via email to