]> granicus.if.org Git - clang/commit
MS static locals mangling: don't count enum scopes
authorHans Wennborg <hans@hanshq.net>
Tue, 17 Jun 2014 00:00:18 +0000 (00:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 17 Jun 2014 00:00:18 +0000 (00:00 +0000)
commitfbacebe345512b6aa2549856a9a8dbced88451bf
tree36b03802e2efb2fac480c9ff6329afbf3c4f4bd6
parent9afae46dbfba4dee2b3117675c4769912030fd89
MS static locals mangling: don't count enum scopes

We may not have the mangling for static locals vs. enums completely figured out,
but at least for my simple test cases, enums should not increment the mangling
number.

Differential Revision: http://reviews.llvm.org/D4164

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211078 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Scope.h
lib/Parse/ParseDecl.cpp
lib/Sema/Scope.cpp
test/CodeGenCXX/microsoft-abi-static-initializers.cpp