Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: tools/clang/plugins/tests/missing_ctor.txt

Issue 937833003: Fix clang plugin to catch defaulted inlined ctors/dtors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: With Chromium fixes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/clang/plugins/tests/missing_ctor.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 In file included from missing_ctor.cpp:5: 1 In file included from missing_ctor.cpp:5:
2 ./missing_ctor.h:11:1: warning: [chromium-style] Complex class/struct needs an e xplicit out-of-line constructor. 2 ./missing_ctor.h:13:1: warning: [chromium-style] Complex class/struct needs an e xplicit out-of-line constructor.
3 class MissingCtorsArentOKInHeader { 3 class MissingCtorsArentOKInHeader {
4 ^ 4 ^
5 ./missing_ctor.h:11:1: warning: [chromium-style] Complex class/struct needs an e xplicit out-of-line destructor. 5 ./missing_ctor.h:13:1: warning: [chromium-style] Complex class/struct needs an e xplicit out-of-line destructor.
6 2 warnings generated. 6 ./missing_ctor.h:39:3: warning: [chromium-style] Complex constructor has an inli ned body.
7 ExplicitlyDefaultedInlineAlsoWarns() = default;
8 ^
9 ./missing_ctor.h:41:3: warning: [chromium-style] Complex constructor has an inli ned body.
10 ExplicitlyDefaultedInlineAlsoWarns(
11 ^
12 ./missing_ctor.h:40:3: warning: [chromium-style] Complex destructor has an inlin e body.
13 ~ExplicitlyDefaultedInlineAlsoWarns() = default;
14 ^
15 5 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/missing_ctor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698