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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to