[flang-commits] [flang] [flang][semantics][OpenMP] no privatisation of stmt functions (PR #106550)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Thu Oct 3 06:56:24 PDT 2024


================
@@ -718,7 +718,7 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
   void CheckDataCopyingClause(
       const parser::Name &, const Symbol &, Symbol::Flag);
   void CheckAssocLoopLevel(std::int64_t level, const parser::OmpClause *clause);
-  void CheckObjectInNamelistOrAssociate(
+  void CheckObjectIsPrivatisable(
----------------
luporl wrote:

I've noticed that sometimes `privatisable` (British English) is used and other times it's `privatizable`.
It would be nice to standardize one of the two in the code.
I suggest the latter, because that's how it's written in the OpenMP standard, that uses words such as `privatization` and `privatized`.

https://github.com/llvm/llvm-project/pull/106550


More information about the flang-commits mailing list