diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-10-19 05:04:37 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-10-19 05:04:37 +0000 |
commit | 0b4cc950c54c8dd2de51587ef48446de670fa012 (patch) | |
tree | c250b4590c3d73230837eb5eebca2a7cd1af573b /test/SemaTemplate/array-to-pointer-decay.cpp | |
parent | d9cad403c0f76cbbcc53efbfeee3d59f9f0b6e09 (diff) |
Fix handling of the regparm attribute in the presence of classes with copy
constructors.
When I first moved regparm support to TargetInfo.cpp I tried to isolate it
in classifyArgumentTypeWithReg, but it is actually a lot easier to flip the
code around and check for regparm at the end of the decision tree.
Without this refactoring classifyArgumentTypeWithReg would have to duplicate
the logic about when to use non-byval indirect arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/array-to-pointer-decay.cpp')
0 files changed, 0 insertions, 0 deletions