[all-commits] [llvm/llvm-project] 54091d: [AST] Fix nested name specifiers printing as Names...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Sep 5 09:15:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54091d37f28c24fa810adf2914af9299c305dd83
      https://github.com/llvm/llvm-project/commit/54091d37f28c24fa810adf2914af9299c305dd83
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-openmp-begin-declare-variant_namespace_1.cpp
    M clang/test/AST/ast-dump-using.cpp

  Log Message:
  -----------
  [AST] Fix nested name specifiers printing as NamespaceNamespace (#65266)

This happens because we print both the kind of the NNS and the kind of
decl (when it refers to one). These are always the same string.




More information about the All-commits mailing list