[all-commits] [llvm/llvm-project] 718c63: Simplify dllexport class member code, NFC

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Aug 11 11:48:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 718c63258202e8e674c47c9ece16f396065e7c2a
      https://github.com/llvm/llvm-project/commit/718c63258202e8e674c47c9ece16f396065e7c2a
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp

  Log Message:
  -----------
  Simplify dllexport class member code, NFC

We can hoist the check for the dllexport attribute to before the check
if this is a static data member or method.




More information about the All-commits mailing list