r265654 - Move class into an anonymous namespace. NFC.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 03:14:54 PDT 2016


Author: d0k
Date: Thu Apr  7 05:14:54 2016
New Revision: 265654

URL: http://llvm.org/viewvc/llvm-project?rev=265654&view=rev
Log:
Move class into an anonymous namespace. NFC.

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=265654&r1=265653&r2=265654&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Thu Apr  7 05:14:54 2016
@@ -6657,6 +6657,7 @@ Address HexagonABIInfo::EmitVAArg(CodeGe
 // 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);




More information about the cfe-commits mailing list