[PATCH] D105648: [OpenMP] Support OpenMP 5.1 attributes

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 8 12:58:46 PDT 2021


ABataev added a comment.

Looks good, in general, just pre-commit formatting changes.



================
Comment at: clang/lib/Basic/Attributes.cpp:27
+  if (LangOpts.OpenMP >= 51 && ScopeName == "omp")
+    return Name == "directive" || Name == "sequence";
+
----------------
Better to return int value here directly, just in case


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

https://reviews.llvm.org/D105648



More information about the cfe-commits mailing list