Move class into an anonymous namespace. NFC.

llvm-svn: 265654
This commit is contained in:
Benjamin Kramer 2016-04-07 10:14:54 +00:00
parent 4fb78518f1
commit 5d28c7f9a2
1 changed files with 2 additions and 0 deletions

View File

@ -6657,6 +6657,7 @@ Address HexagonABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr,
// Lanai ABI Implementation
//===----------------------------------------------------------------------===//
namespace {
class LanaiABIInfo : public DefaultABIInfo {
public:
LanaiABIInfo(CodeGen::CodeGenTypes &CGT) : DefaultABIInfo(CGT) {}
@ -6681,6 +6682,7 @@ public:
ABIArgInfo classifyArgumentType(QualType RetTy, CCState &State) const;
};
} // end anonymous namespace
bool LanaiABIInfo::shouldUseInReg(QualType Ty, CCState &State) const {
unsigned Size = getContext().getTypeSize(Ty);