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

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue May 20 05:57:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46ab684bddc812771226e53010642f3c846efe92
      https://github.com/llvm/llvm-project/commit/46ab684bddc812771226e53010642f3c846efe92
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-20 (Tue, 20 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 (#140606)

Remove extraneous 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