diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-08-23 05:39:39 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-08-23 05:39:39 +0000 |
| commit | d1282ec56231c967439c1eb67fe4afe792287911 (patch) | |
| tree | 429d89af991cc75fec35ed1b3d6ca440b7623c36 /lib/Serialization/ModuleManager.cpp | |
| parent | 8ef1b372b4a13e79ac827b15635cd0fe08170189 (diff) | |
| download | clang-d1282ec56231c967439c1eb67fe4afe792287911.tar.gz clang-d1282ec56231c967439c1eb67fe4afe792287911.tar.bz2 clang-d1282ec56231c967439c1eb67fe4afe792287911.tar.xz | |
Sema: Properly support Microsoft-mode template arguments
Summary:
There were two things known to be wrong with our implementation of MSVC
mode template arguments:
- We didn't properly handle __uuidof/CXXUuidofExpr and skipped all type
checking completely.
- We didn't allow for MSVC's extension of allowing certain constant
"foldable" expressions from showing up in template arguments.
They allow various casts dereference and address-of operations.
We can make it more general as we find further peculiarities but this
is the known extent.
Reviewers: rsmith, doug.gregor, rjmccall
Reviewed By: doug.gregor
CC: cfe-commits, rnk
Differential Revision: http://llvm-reviews.chandlerc.com/D1444
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
