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

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

Issue 520283002: . Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: notjustcalls 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
« no previous file with comments | « tools/clang/plugins/tests/base_passed.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e480380a2bc5a0b6c74acda6715640641f2f4517
--- /dev/null
+++ b/tools/clang/plugins/tests/base_passed.txt
@@ -0,0 +1,19 @@
+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:51:33: warning: reference might be destroyed here
+ f_bad(base::Passed(s.Pass()), s.get());
+ ^
+base_passed.cpp:51:22: note: invalidated here
+ f_bad(base::Passed(s.Pass()), s.get());
+ ^
+base_passed.cpp:57:12: warning: reference might be destroyed here
+ h_bad2(s.get()));
+ ^
+base_passed.cpp:56:26: note: invalidated here
+ h(h_bad1(base::Passed(&s)),
+ ^
+3 warnings generated.
« no previous file with comments | « 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