]> granicus.if.org Git - clang/commit
Fix ms-layout_version declspec test and add missing new test
authorReid Kleckner <rnk@google.com>
Mon, 17 Dec 2018 23:16:43 +0000 (23:16 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 17 Dec 2018 23:16:43 +0000 (23:16 +0000)
commitd1d2af094696e5f2d1614f1fcdf62b858e3dff3d
treed46676d693949c21e41034363bd65c204bcb80c3
parent4d6bcd5b3263a86818db792ec700d8fb6333c8ea
Fix ms-layout_version declspec test and add missing new test

Now that MSVC compatibility versions are stored as a four digit number
(1912) instead of a two digit number (19), we need to adjust how we
handle this attribute.

Also add a new test that was intended to be part of r349414.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349415 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/CodeGenCXX/mangle-ms-exception-spec.cpp [new file with mode: 0644]