|
Standardize usage of virtual/override/final specifiers.
The Google C++ style guide states:
Explicitly annotate overrides of virtual functions or virtual
destructors with an override or (less frequently) final specifier.
Older (pre-C++11) code will use the virtual keyword as an inferior
alternative annotation. For clarity, use exactly one of override,
final, or virtual when declaring an override.
To better conform to these guidelines, the following constructs have
been rewritten:
- if a base class has a virtual destructor, then:
virtual ~Foo(); -> ~Foo() override;
- virtual void Foo() override; -> void Foo() override;
- virtual void Foo() override final; -> void Foo() final;
This patch was automatically generated. The clang plugin can generate
fixit hints, which are suggested edits when it is 100% sure it knows how
to fix a problem. The hints from the clang plugin were applied to the
source tree using the tool in https://codereview.chromium.org/598073004.
BUG= 417463
R=dbeam@chromium.org
Committed: https://crrev.com/0c1f5ce4b1b9cb3c88a0982416fe7716c718ee92
Cr-Commit-Position: refs/heads/master@{#301509}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+220 lines, -226 lines) |
Patch |
 |
M |
chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h
|
View
|
|
1 chunk |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_dialog_views.h
|
View
|
|
10 chunks |
+101 lines, -104 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
View
|
|
11 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_popup_base_view.h
|
View
|
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_popup_view_views.h
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/decorated_textfield.h
|
View
|
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/expanding_textfield.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/info_bubble.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/info_bubble.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/password_generation_popup_view_views.h
|
View
|
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/tooltip_icon.h
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/tooltip_icon.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|