[cfe-commits] [PATCH] Implement Attr dumping for -ast-dump

Alexander Kornienko alexfh at google.com
Sat Dec 22 16:16:28 PST 2012


  Just one more thing (c)


================
Comment at: test/Misc/ast-dump-attr.cpp:6
@@ +5,3 @@
+// CHECK:      VarDecl{{.*}}TestLocation
+// CHECK-NEXT:   UnusedAttr 0x{{[^ ]*}} <line:4:16>
+
----------------
You could also use [[@LINE-x]] expression here:
// CHECK-NEXT:   UnusedAttr 0x{{[^ ]*}} <line:[[@LINE-2]]:16>


http://llvm-reviews.chandlerc.com/D234



More information about the cfe-commits mailing list