[all-commits] [llvm/llvm-project] 7973dc: [utils][TableGen] Unify name qualifications in Dir...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon May 19 12:58:02 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/t02-qualifications
  Home:   https://github.com/llvm/llvm-project
  Commit: 7973dce4ffba843927cfef3a9a980999abeaa014
      https://github.com/llvm/llvm-project/commit/7973dce4ffba843927cfef3a9a980999abeaa014
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

  Log Message:
  -----------
  [utils][TableGen] Unify name qualifications in DirectiveEmitter

Remove extraenous qualifications from names when
- the name is explicitly enclosed by corresponding namespaces, and
- the name is in a body of a function defined in corresponding namespaces.
Otherwise add missing qualifications.

This applies to individual sections of TableGen output, and makes name
lookup independent of the context in which these sections are included.



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