[flang-commits] [flang] [flang][OpenMP] Resolve names for declare simd uniform clause (PR #142160)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri May 30 07:53:35 PDT 2025


================
@@ -550,6 +550,13 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
     return false;
   }
 
+  bool Pre(const parser::OmpClause::Uniform &x) {
+    for (const auto &name : x.v) {
+      ResolveOmpName(name, Symbol::Flag::OmpUniform);
----------------
kiranchandramohan wrote:

Can you add a `debug-dump-symbols` test to show that the symbol corresponding to name has the `OmpUniform` flag?

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


More information about the flang-commits mailing list