[PATCH] D128569: Start support for HLSL `RWBuffer`

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 29 23:10:25 PDT 2022


uabelho added a comment.

Hello,

Compiling with gcc I get the following warning with this patch:

  [1832/2330] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o
  In file included from ../../clang/include/clang/Sema/ExternalSemaSource.h:15,
                   from ../../clang/include/clang/Sema/HLSLExternalSemaSource.h:17,
                   from ../../clang/lib/Sema/HLSLExternalSemaSource.cpp:12:
  ../../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 ../../clang/lib/Sema/HLSLExternalSemaSource.cpp:12:
  ../../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;
        |        ^~~~~~~~~~~~




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128569/new/

https://reviews.llvm.org/D128569



More information about the cfe-commits mailing list