Lines Matching full:polymorphic
1 // RUN: %check_clang_tidy %s bugprone-pointer-arithmetic-on-polymorphic-object %t --
29 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators()
32 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators()
35 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators()
38 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators()
41 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators()
52 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Base' in subclassWarnings()
61 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Deri… in subclassWarnings()
79 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Abst… in abstractWarnings()
86 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Abst… in abstractWarnings()
94 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Abst… in abstractWarnings()
108 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Base' in functionArgument()
124 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Base' in typeAliases()
127 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Deri… in typeAliases()
133 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Base' in typeAliases()
136 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Deri… in typeAliases()