================
Comment at: test/CodeGenCXX/debug-info-template.cpp:72
@@ -71,1 +71,3 @@
 // CHECK: [[TCNARG8]] = {{.*}}metadata !"Is", null, metadata [[EMPTY]], {{.*}} 
; [ DW_TAG_GNU_template_parameter_pack ]
+// CHECK: metadata [[TGI:![0-9]*]], i32 0, i32 1, %struct.tmpl_guid* @tgi, 
null} ; [ DW_TAG_variable ] [tgi]
+// CHECK: [[TGIT:![0-9]*]] = {{.*}}, metadata [[TGIARGS:![0-9]*]]} ; [ 
DW_TAG_structure_type ] [tmpl_guid<&__uuidof(uuid)>]
----------------
You don't seem to be using the [[TGI]] variable you captured here, did you 
intend to?
Possibly related, I assume you meant to check that the TGI variable is of type 
TGIT? (I don't believe that's strictly necessary - sort of 'belt and bracers', 
but not wrong either - we've checked that template types can be correctly 
associated with variables of that type, we could just say that we're assuming 
that's correct here & only test the template type)


http://llvm-reviews.chandlerc.com/D1453
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to