[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)
commit747e301ea016b61dd8bcf86c9db06de720fd914c
treed4a1c8a375f1a5bf46bb5eb2bef8631f89ff317e
parent1fe2c5ab277cb7a2c9de0175912d7aeabfaed6e5
[MS-ABI] Implement typeid
This patch enables clang to generate calls to __RTtypeid when lowering
typeid on win32 targets.  Test cases are included.

llvm-svn: 211223
clang/lib/CodeGen/CGExprCXX.cpp
clang/test/CodeGenCXX/microsoft-abi-typeid.cpp [new file with mode: 0644]