]> granicus.if.org Git - clang/commit
Refactor ABIArgInfo::Expand implementation (NFC).
authorAlexey Samsonov <vonosmas@gmail.com>
Mon, 29 Sep 2014 18:41:28 +0000 (18:41 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Mon, 29 Sep 2014 18:41:28 +0000 (18:41 +0000)
commit0114fc7b84ef17ce5f812d595f1fa4c801075947
tree085aa6b32fa3446484165e39ff40f18f4ae75e87
parent780ceee3ab1a56081f897b0b49ac73dd992f448f
Refactor ABIArgInfo::Expand implementation (NFC).

Hoist the logic which determines the way QualType is expanded
into a separate method. Remove a bunch of copy-paste and simplify
getTypesFromArgs() / ExpandTypeFromArgs() / ExpandTypeToArgs() methods.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp