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

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

Issue 1816283003: chrome style plugin: Don't crash when checking class weight. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test comments Created 4 years, 9 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/class_with_incomplete_type.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/class_with_incomplete_type.txt
diff --git a/tools/clang/plugins/tests/class_with_incomplete_type.txt b/tools/clang/plugins/tests/class_with_incomplete_type.txt
new file mode 100644
index 0000000000000000000000000000000000000000..553c5051953b4ac413945a5c82bc599db568362c
--- /dev/null
+++ b/tools/clang/plugins/tests/class_with_incomplete_type.txt
@@ -0,0 +1,8 @@
+In file included from class_with_incomplete_type.cpp:5:
+./class_with_incomplete_type.h:12:5: error: field has incomplete type 'B'
+ B incomplete;
+ ^
+./class_with_incomplete_type.h:8:8: note: forward declaration of 'B'
+struct B;
+ ^
+1 error generated.
« no previous file with comments | « tools/clang/plugins/tests/class_with_incomplete_type.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698