[all-commits] [llvm/llvm-project] b8717d: [libcxx] [test] Merge the experimental-lib-exports...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 11 00:16:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8717d19cfd49bfdbd462ea42cd94b94959e4feb
      https://github.com/llvm/llvm-project/commit/b8717d19cfd49bfdbd462ea42cd94b94959e4feb
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    R libcxx/test/libcxx/vendor/clang-cl/experimental-lib-exports.sh.cpp
    M libcxx/test/libcxx/vendor/clang-cl/static-lib-exports.sh.cpp
    R libcxx/test/libcxx/vendor/mingw/experimental-lib-exports.sh.cpp
    M libcxx/test/libcxx/vendor/mingw/static-lib-exports.sh.cpp

  Log Message:
  -----------
  [libcxx] [test] Merge the experimental-lib-exports testcases into static-lib-exports

Since bb939931a1adb9a47a2de13c359d6a72aeb277c8, the c++experimental
library is always built, so these tested files should always be built
(even if they aren't used in tests).

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


  Commit: 5d89f9044392db3838348a3f44e2723e3436dd28
      https://github.com/llvm/llvm-project/commit/5d89f9044392db3838348a3f44e2723e3436dd28
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M clang/include/clang/Sema/HLSLExternalSemaSource.h

  Log Message:
  -----------
  [clang] [HLSL] Fix GCC warnings about virtual methods that are hidden

This fixes the following warnings produced by GCC 9:

In file included from ../tools/clang/include/clang/Sema/ExternalSemaSource.h:15,
                 from ../tools/clang/include/clang/Sema/HLSLExternalSemaSource.h:17,
                 from ../tools/clang/lib/Sema/HLSLExternalSemaSource.cpp:12:
../tools/clang/include/clang/AST/ExternalASTSource.h:211:16: warning: ‘virtual void clang::ExternalASTSource::CompleteType(clang::ObjCInterfaceDecl*)’ was hidden [-Woverloaded-virtual]
  211 |   virtual void CompleteType(ObjCInterfaceDecl *Class);
      |                ^~~~~~~~~~~~
In file included from ../tools/clang/lib/Sema/HLSLExternalSemaSource.cpp:12:
../tools/clang/include/clang/Sema/HLSLExternalSemaSource.h:49:8: warning:   by  virtual void clang::HLSLExternalSemaSource::CompleteType(clang::TagDecl*)’ [-Woverloaded-virtual]
   49 |   void CompleteType(TagDecl *Tag) override;
      |        ^~~~~~~~~~~~

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


Compare: https://github.com/llvm/llvm-project/compare/ebe0674acb8b...5d89f9044392


More information about the All-commits mailing list