]> granicus.if.org Git - clang/commit
[AST] AttributedType should derive type properties from the EquivalentType
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 17 Jan 2017 04:14:25 +0000 (04:14 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 17 Jan 2017 04:14:25 +0000 (04:14 +0000)
commitd23dc09feb43ec6ea1d1db5f9c2bb05bde90e299
tree4a5f27ff3b3dc93ac7e0903afbfcf74b2612c2c3
parent3e40c075b03f36237b3030d71d7cd1556511e3f7
[AST] AttributedType should derive type properties from the EquivalentType

Using the canonical type instead of the equivalent type can result in
insufficient template instantiations.

This fixes PR31656.

Differential Revision: https://reviews.llvm.org/D28788

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292194 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
test/CodeGenCXX/microsoft-abi-default-cc.cpp