[PATCH] D21992: [clang-tidy] new cppcoreguidelines-slicing
    Piotr Padlewski via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Jul 20 00:21:00 PDT 2016
    
    
  
Prazek added a subscriber: Prazek.
================
Comment at: clang-tidy/cppcoreguidelines/SlicingCheck.cpp:30
@@ +29,3 @@
+  //   or
+  //   - B does not define any additional members (either variables or
+  //   overrides) wrt A.
----------------
What is A and what is B? I guess you are missing very important fact, that A is a base class of B
================
Comment at: clang-tidy/cppcoreguidelines/SlicingCheck.h:19
@@ +18,3 @@
+
+/// Flags slicing of member variables or vtable. See:
+///   -
----------------
some short description what does this check do?
https://reviews.llvm.org/D21992
    
    
More information about the cfe-commits
mailing list