[clang][CodeGen] Break up TargetInfo.cpp [5/8]
authorSergei Barannikov <barannikov88@gmail.com>
Sat, 29 Apr 2023 16:37:32 +0000 (19:37 +0300)
committerSergei Barannikov <barannikov88@gmail.com>
Fri, 19 May 2023 20:55:21 +0000 (23:55 +0300)
commitf60cc01e9e75785dd2476c7e05da689be5a99839
tree359b5f7c4073eb2e8a2e4d548b7cff1611c00db3
parent0a86e05d1da0f544920b1eff6656c5577fb6562f
[clang][CodeGen] Break up TargetInfo.cpp [5/8]

Make `occupiesMoreThan` a protected member of `SwiftABIInfo`.
This method is only used by implementations of `SwiftABIInfo`.
Making it protected will allow to use it after the implementations
are moved to dedicated cpp files.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D148093
clang/lib/CodeGen/ABIInfo.h
clang/lib/CodeGen/TargetInfo.cpp