]> granicus.if.org Git - clang/commit
Pre-declare '::type_info' in MicrosoftMode only, not MicrosoftExt
authorAlp Toker <alp@nuanti.com>
Sun, 5 Jan 2014 06:38:18 +0000 (06:38 +0000)
committerAlp Toker <alp@nuanti.com>
Sun, 5 Jan 2014 06:38:18 +0000 (06:38 +0000)
commit1af37cb5ed36b62f2d16256d13f23f1446d3fcc0
tree5d9ca5ec0dc940cb6382c2a827c2b64874405b53
parent726bbab9bdb868c332f8911fa6699261cba053e3
Pre-declare '::type_info' in MicrosoftMode only, not MicrosoftExt

It was previously enabled in both but should only have been part of the drop-in
quirks mode that is 'MicrosoftMode' given that it's only useful for
compatibility with the Microsoft headers/runtime.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198548 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.cpp
test/SemaCXX/MicrosoftCompatibility.cpp
test/SemaCXX/MicrosoftExtensions.cpp