]> granicus.if.org Git - clang/commit
Fix non-MSVC build error in ASTContext::getAdjustedType
authorReid Kleckner <reid@kleckner.net>
Thu, 5 Dec 2013 01:41:37 +0000 (01:41 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 5 Dec 2013 01:41:37 +0000 (01:41 +0000)
commit3a0b7e92af1c105e9ea7ce1b6006aecd3ebe09eb
tree0faa55909cde2698d46b44b2863885d651eee7fd
parentcedc8af40e36c81d08b06652e75449a1b15909f2
Fix non-MSVC build error in ASTContext::getAdjustedType

Use FunctionTypeUnwrapper like we do in AttributedType to try to keep
some sugar.  We can actually do one better here in the future by
avoiding the AdjustedType node altogether when no sugar would be lost.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp