ABataev added inline comments.

================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:11027
+  if (auto *CS = dyn_cast<CompoundStmt>(Then)) {
+    if (CS->size() == 0) {
+      ErrorInfo.Error = ErrorTy::NoStmt;
----------------
`body_empty()`


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:11206
+    if (!E->isInstantiationDependent()) {
+      auto Type = E->getType();
+      if (!Type->isScalarType()) {
----------------
`QualType`


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:11241
+  if (CS) {
+    if (CS->size() == 0) {
+      ErrorInfo.Error = ErrorTy::NoStmt;
----------------
`body_empty()`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116637

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

Reply via email to