]> granicus.if.org Git - clang/commit
[MS-ABI] Implement typeid
authorWarren Hunt <whunt@google.com>
Wed, 18 Jun 2014 21:15:55 +0000 (21:15 +0000)
committerWarren Hunt <whunt@google.com>
Wed, 18 Jun 2014 21:15:55 +0000 (21:15 +0000)
commit1bd78cc4dd4270f4187bc52dbae529a11f1ae3f0
treece943615abf1400e23cfcf50e3b3331c70c62a46
parentdaff6b03876a7206ebe0f3b708afaadcedd4f5d1
[MS-ABI] Implement typeid
This patch enables clang to generate calls to __RTtypeid when lowering
typeid on win32 targets.  Test cases are included.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/microsoft-abi-typeid.cpp [new file with mode: 0644]