summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-06-08 17:28:56 +0000
committerReid Kleckner <reid@kleckner.net>2013-06-08 17:28:56 +0000
commit63c9a92a805394c1ca9e4a5fd8afb3acbb918d03 (patch)
tree15eb40170cee8d6ff4e970a825b3c4ca3cb02ba9 /lib/CodeGen/CGExprAgg.cpp
parent122e601886ae527d6e7100c589339c05190a168a (diff)
downloadclang-63c9a92a805394c1ca9e4a5fd8afb3acbb918d03.tar.gz
clang-63c9a92a805394c1ca9e4a5fd8afb3acbb918d03.tar.bz2
clang-63c9a92a805394c1ca9e4a5fd8afb3acbb918d03.tar.xz
[Sema] Make FunctionType's TSI use unadjusted argument types
This helps preserve the type-as-written in the AST, which we need for MSVC mangling. In particular, we need to preserve the types of array parameters in function pointer types. The essence of this change is: - QualType ArgTy = Param->getType(); + QualType ArgTy = Param->getTypeSourceInfo()->getType(); ... followed by the adjustment in ActOnFunctionDeclarator(). Differential Revision: http://llvm-reviews.chandlerc.com/D883 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions