[PATCH] D93447: [Flang][openmp][openacc] Extend CheckNoBranching to handle branching provided by LabelEnforce.

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 08:34:28 PST 2020


clementval added inline comments.


================
Comment at: flang/lib/Semantics/check-directive-structure.h:45
     currentStatementSourcePosition_ = statement.source;
+    if (statement.label.has_value()) {
+      labels_.insert(*statement.label);
----------------
Braces should be removed for simple if


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93447



More information about the llvm-commits mailing list