[all-commits] [llvm/llvm-project] 0acfc4: Allow redeclaration of __declspec(uuid)

Reid Kleckner via All-commits all-commits at lists.llvm.org
Sat Dec 28 13:13:50 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0acfc493171a880215327ecd70e3e01e1cd493df
      https://github.com/llvm/llvm-project/commit/0acfc493171a880215327ecd70e3e01e1cd493df
  Author: Zachary Henkel <zachary.henkel at microsoft.com>
  Date:   2019-12-28 (Sat, 28 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/SemaCXX/ms-uuid.cpp

  Log Message:
  -----------
  Allow redeclaration of __declspec(uuid)

msvc allows a subsequent declaration of a uuid attribute on a
struct/class.  Mirror this behavior in clang-cl.

Reviewed By: rnk

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




More information about the All-commits mailing list