File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ Example:
15
15
};
16
16
17
17
struct Derived : Base {
18
- virtual funk();
18
+ virtual void funk();
19
19
// warning: 'Derived::funk' has a similar name and the same signature as virtual method 'Base::func'; did you mean to override it?
20
20
};
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ performance-type-promotion-in-math-fn
6
6
Finds calls to C math library functions (from ``math.h `` or, in C++, ``cmath ``)
7
7
with implicit ``float `` to ``double `` promotions.
8
8
9
- For example, warns on ``::sin(0.f) ``, because this funciton 's parameter is a
9
+ For example, warns on ``::sin(0.f) ``, because this function 's parameter is a
10
10
double. You probably meant to call ``std::sin(0.f) `` (in C++), or ``sinf(0.f) ``
11
11
(in C).
12
12
You can’t perform that action at this time.
0 commit comments