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

Unified Diff: tools/clang/plugins/tests/warn_only.txt

Issue 1117163002: Clang style plugin: add warn-only option and use it on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: tools/clang/plugins/tests/warn_only.txt
diff --git a/tools/clang/plugins/tests/warn_only.txt b/tools/clang/plugins/tests/warn_only.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b5c2d0982e164499b361449abd6ecb8f6927507
--- /dev/null
+++ b/tools/clang/plugins/tests/warn_only.txt
@@ -0,0 +1,8 @@
+In file included from warn_only.cpp:5:
+./warn_only.h:13:3: warning: [chromium-style] Complex constructor has an inlined body.
+ InlineCtors() {}
+ ^
+./warn_only.h:14:3: warning: [chromium-style] Complex destructor has an inline body.
+ ~InlineCtors() {}
+ ^
+2 warnings generated.
« tools/clang/plugins/FindBadConstructsAction.cpp ('K') | « tools/clang/plugins/tests/warn_only.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698