lebedev.ri added a comment.

And now i'm having concerns.

  struct Base {
      void* f;
  };
  
  struct Inherit : Base {
      static void func(void* f) { // <- does 'f' *actually* shadow the 'f' in 
the 'Base'? You can't access that non-static member variable from static 
function.
      }
  };


https://reviews.llvm.org/D52421



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

Reply via email to