[all-commits] [llvm/llvm-project] b09ee8: Generalize our two different kinds of declaration ...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Apr 15 00:07:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b09ee8882010ff2a7d55e30c46c19533d0ab562d
      https://github.com/llvm/llvm-project/commit/b09ee8882010ff2a7d55e30c46c19533d0ab562d
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
  Generalize our two different kinds of declaration argument for
attributes to support any kind of declaration.

In preparation for adding a third kind.


  Commit: 9bd6b77ac66fddadc50ca99ca327f1b7f9b0d6e4
      https://github.com/llvm/llvm-project/commit/9bd6b77ac66fddadc50ca99ca327f1b7f9b0d6e4
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/test/CodeGenCXX/debug-info-template.cpp

  Log Message:
  -----------
  Don't print `&` as part of reference template arguments.

In passing, also generalize the mechanism used to allow Decl's printName
functions to override qualified name printing.


Compare: https://github.com/llvm/llvm-project/compare/1e5f149c3cb3...9bd6b77ac66f


More information about the All-commits mailing list