Lines Matching full:explicit
1 // RUN: %check_clang_tidy %s google-explicit-constructor,clang-diagnostic-unused-variable,cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays %t -- -extra-arg=-Wunused-variable
4 // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: single-argument constructors must be marked explicit
31 // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: single-argument constructors must be marked explicit
33 // NOLINTBEGIN(google-explicit-constructor)
35 // NOLINTEND(google-explicit-constructor)
39 // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: single-argument constructors must be marked explicit
48 // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: single-argument constructors must be marked explicit
51 // NOLINTBEGIN(some-other-check, google-explicit-constructor)
53 // NOLINTEND(some-other-check, google-explicit-constructor)
55 // NOLINTBEGIN(google-explicit-constructor)
59 // NOLINTEND(google-explicit-constructor)
61 // NOLINTBEGIN(google-explicit-constructor)
65 // NOLINTEND(google-explicit-constructor)
68 // NOLINTBEGIN(google-explicit-constructor)
70 // NOLINTEND(google-explicit-constructor)
84 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: single-argument constructors must be marked explicit
114 // NOLINTBEGIN(*explicit-constructor)
116 // NOLINTEND(*explicit-constructor)
118 // NOLINTBEGIN(*explicit*)
120 // NOLINTEND(*explicit*)
122 // NOLINTBEGIN(-explicit-constructor)
124 // CHECK-MESSAGES: :[[@LINE-1]]:13: warning: single-argument constructors must be marked explicit
125 // NOLINTEND(-explicit-constructor)