[PATCH] Delay lookup of simple default template arguments under -fms-compatibility

Richard Smith richard at metafoo.co.uk
Thu Jun 5 18:26:26 PDT 2014


LGTM

================
Comment at: lib/Sema/SemaDecl.cpp:349
@@ +348,3 @@
+synthesizeCurrentNestedNameSpecifier(ASTContext &Context, DeclContext *DC) {
+  DC = DC->getPrimaryContext();
+  for (; DC != nullptr; DC = DC->getLookupParent()) {
----------------
This looks redundant.

http://reviews.llvm.org/D3995






More information about the cfe-commits mailing list