From: Benjamin Kramer Date: Fri, 5 Jun 2015 14:33:02 +0000 (+0000) Subject: [TargetParser] Properly attach functions of ARMTargetParser to the class X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cdb8c729f240a218b0560db682c044f485de7407;p=oota-llvm.git [TargetParser] Properly attach functions of ARMTargetParser to the class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/TargetParser.cpp b/lib/Support/TargetParser.cpp index 70dc7134840..bd83c9c71fd 100644 --- a/lib/Support/TargetParser.cpp +++ b/lib/Support/TargetParser.cpp @@ -223,8 +223,6 @@ struct { } // namespace -namespace llvm { - // ======================================================= // // Information by ID // ======================================================= // @@ -241,13 +239,13 @@ unsigned ARMTargetParser::getFPUVersion(unsigned FPUKind) { return FPUNames[FPUKind].FPUVersion; } -unsigned getFPUNeonSupportLevel(unsigned FPUKind) { +unsigned ARMTargetParser::getFPUNeonSupportLevel(unsigned FPUKind) { if (FPUKind >= ARM::FK_LAST) return 0; return FPUNames[FPUKind].NeonSupport; } -unsigned getFPURestriction(unsigned FPUKind) { +unsigned ARMTargetParser::getFPURestriction(unsigned FPUKind) { if (FPUKind >= ARM::FK_LAST) return 0; return FPUNames[FPUKind].Restriction; @@ -587,5 +585,3 @@ unsigned ARMTargetParser::parseArchVersion(StringRef Arch) { } return 0; } - -} // namespace llvm