[all-commits] [llvm/llvm-project] 6f4644: [clang] Don't parse MS attributes in `ParseExportD...

martinboehme via All-commits all-commits at lists.llvm.org
Wed May 25 08:15:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f4644d194da594562027a5d458d9fb7a20ebc39
      https://github.com/llvm/llvm-project/commit/6f4644d194da594562027a5d458d9fb7a20ebc39
  Author: Martin Boehme <mboehme at google.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M clang/lib/Parse/ParseDeclCXX.cpp

  Log Message:
  -----------
  [clang] Don't parse MS attributes in `ParseExportDeclaration()`.

As @rsmith commented on https://reviews.llvm.org/D111548: "That looks like it's
simply a bug as far as I can tell, and that call can be removed. MS attributes
will be parsed as part of the decl specifier sequence as needed and don't need
to be parsed as declaration attributes."

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list