[all-commits] [llvm/llvm-project] 66c18f: [flang][OpenMP] Make OmpDirectiveNameModifier a di...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Sat Jul 26 07:55:51 PDT 2025


  Branch: refs/heads/users/kparzysz/a01-distinct-directive-name-modifier
  Home:   https://github.com/llvm/llvm-project
  Commit: 66c18fa8a408d6ec0123f901566a03159d2eb593
      https://github.com/llvm/llvm-project/commit/66c18fa8a408d6ec0123f901566a03159d2eb593
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-26 (Sat, 26 Jul 2025)

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/openmp-parsers.cpp

  Log Message:
  -----------
  [flang][OpenMP] Make OmpDirectiveNameModifier a distrinct type

It was an alias for OmpDirectiveName, which could cause confusion in
parse-tree visitors: a visitor for OmpDirectiveNameModifier could be
executed for an OmpDirectiveName node, leading to unexpected results.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list