ABataev added inline comments.

================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:1115
+
+static bool isConstNotMutableType(Sema &SemaRef, ValueDecl *D) {
+  return checkConstNotMutableType(SemaRef, D, /*ReportDiag*/ false,
----------------
I would say it is better to outlined check as a standalone function rather than 
use `checkConstNotMutableType` for this purpose


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

https://reviews.llvm.org/D56113



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

Reply via email to