[PATCH] Sema: Static redeclaration after extern declarations is a Microsoft Extension
Reid Kleckner
rnk at google.com
Tue Jun 17 10:37:51 PDT 2014
lgtm
================
Comment at: test/Sema/private-extern.c:16
@@ -15,3 +15,3 @@
-extern int g4; // expected-note{{previous definition}}
+extern int g4; // expected-note{{previous declaration}}
static int g4; // expected-error{{static declaration of 'g4' follows non-static declaration}}
----------------
Good catch on improving these diagnostics!
http://reviews.llvm.org/D4149
More information about the cfe-commits
mailing list