Revert r360637 "PR41817: Fix regression in r359260 that caused the MS compatibility"
authorHans Wennborg <hans@hanshq.net>
Tue, 14 May 2019 10:11:33 +0000 (10:11 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 14 May 2019 10:11:33 +0000 (10:11 +0000)
commitb0dbc9612ff68d6db5fa6e4308a6538c394970ab
tree4c418b598778765ba6451443e6d9255f7e7dfe5b
parenta568222ddd4ce6354bdbc623ff725264da0cdd14
Revert r360637 "PR41817: Fix regression in r359260 that caused the MS compatibility"

> extension allowing a "static" declaration to follow an "extern"
> declaration to stop working.

It introduced asserts for some "static-following-extern" cases, breaking the
Chromium build. See the cfe-commits thread for reproducer.

llvm-svn: 360657
clang/lib/AST/Decl.cpp
clang/test/CodeGen/ms-compat-extern-static.c [deleted file]