[PATCH] D46052: GNUstep Objective-C ABI version 2

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 24 11:13:59 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/CodeGen/CGObjCGNU.cpp:512
   /// used to return an untyped selector (with the types field set to NULL).
-  llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel,
+  virtual llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel,
                            const std::string &TypeEncoding);
----------------
This causes 
CGObjCGNU.cpp:589:16: warning: ‘virtual llvm::Value* {anonymous}::CGObjCGNU::GetSelector(clang::CodeGen::CodeGenFunction&, const clang::ObjCMethodDecl*)’ was hidden [-Woverloaded-virtual]
   llvm::Value *GetSelector(CodeGenFunction &CGF,



Repository:
  rC Clang

https://reviews.llvm.org/D46052





More information about the cfe-commits mailing list