]> granicus.if.org Git - clang/commit
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)
commit5db60c2ca8308919348af0c96f98d87a888d8d7c
tree1e3afe7a1d4d8d9ea73bceb42877863d65efc49d
parent32a452aa77fbe921168b1ec5d498eac904d80dc7
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGen/ms-compat-extern-static.c [deleted file]