[PATCH] D102061: [flang] [openmp] Add Fortran specific semantic checks for OpenMP Allocate directive.

Isaac Perry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 05:36:18 PDT 2021


I_Perry added inline comments.


================
Comment at: flang/lib/Semantics/resolve-directives.cpp:1491-1492
+                if ((ompFlag == Symbol::Flag::OmpDeclarativeAllocateDirective ||
+                        ompFlag ==
+                            Symbol::Flag::OmpExecutableAllocateDirective) &&
                     ResolveOmpObjectScope(name) == nullptr) {
----------------
kiranchandramohan wrote:
> Nit: Is this clang-formatted?
I've just edited then formatted this code with clang-format and this is the result. Could there possibly be a clang-format version issue if this shouldn't be the case?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102061



More information about the llvm-commits mailing list