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

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

Issue 520283002: . Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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/base_passed.txt
diff --git a/tools/clang/plugins/tests/base_passed.txt b/tools/clang/plugins/tests/base_passed.txt
new file mode 100644
index 0000000000000000000000000000000000000000..903658608b1656cfa54119aabbafab7f964da5d8
--- /dev/null
+++ b/tools/clang/plugins/tests/base_passed.txt
@@ -0,0 +1,13 @@
+base_passed.cpp:50:27: warning: reference might be destroyed here
+ f_bad(base::Passed(&s), s.get());
+ ^
+base_passed.cpp:50:23: note: invalidated here
+ f_bad(base::Passed(&s), s.get());
+ ^
+base_passed.cpp:58:12: warning: reference might be destroyed here
+ h_bad2(s.get()));
+ ^
+base_passed.cpp:57:26: note: invalidated here
+ h(h_bad1(base::Passed(&s)),
+ ^
+2 warnings generated.
« tools/clang/plugins/tests/base_passed.cpp ('K') | « tools/clang/plugins/tests/base_passed.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698