[all-commits] [llvm/llvm-project] bc3f17: Don't normalise CXX11/C2X attribute names to start...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Wed Mar 25 07:34:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bc3f171090f6d9f84a5d7b333bc70a1e14afffd4
      https://github.com/llvm/llvm-project/commit/bc3f171090f6d9f84a5d7b333bc70a1e14afffd4
  Author: John Brawn <john.brawn at arm.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M clang/lib/Basic/Attributes.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
  Don't normalise CXX11/C2X attribute names to start with ::

Currently square-bracket-style (CXX11/C2X) attribute names are normalised to
start with :: if they don't have a namespace. This is a bit odd, as such
names are rejected when parsing, so don't do this.

Differential Revision: https://reviews.llvm.org/D76704


  Commit: 3f03c12a51be656c595301ace832c24a68601ee2
      https://github.com/llvm/llvm-project/commit/3f03c12a51be656c595301ace832c24a68601ee2
  Author: John Brawn <john.brawn at arm.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M clang/docs/ClangPlugins.rst
    A clang/examples/Attribute/Attribute.cpp
    A clang/examples/Attribute/CMakeLists.txt
    M clang/examples/CMakeLists.txt
    M clang/test/CMakeLists.txt
    A clang/test/Frontend/plugin-attribute.cpp

  Log Message:
  -----------
  Add an attribute plugin example

Differential Revision: https://reviews.llvm.org/D31343


Compare: https://github.com/llvm/llvm-project/compare/72b51d6f93b5...3f03c12a51be


More information about the All-commits mailing list