Move class into an anonymous namespace. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 7 Apr 2016 10:14:54 +0000 (10:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 7 Apr 2016 10:14:54 +0000 (10:14 +0000)
llvm-svn: 265654

clang/lib/CodeGen/TargetInfo.cpp

index b9a7d31..6e0e962 100644 (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);