[PATCH] Fix DeclRefExpr::getFoundDecl() for non-call references.

Richard Smith richard at metafoo.co.uk
Thu Mar 21 16:55:28 PDT 2013



================
Comment at: test/Misc/ast-dump-stmt.cpp:11
@@ +10,3 @@
+  void (*f)() = &function;
+// CHECK:       DeclRefExpr{{.*}}UsingShadow
+  Variable = 4;
----------------
Maybe "DeclRefExpr{{.*}} Function {{.*}} (UsingShadow", to check we get them the right way around?


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



More information about the cfe-commits mailing list