summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Driver/UtilsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Driver/UtilsTest.cpp')
-rw-r--r--clang/unittests/Driver/UtilsTest.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/clang/unittests/Driver/UtilsTest.cpp b/clang/unittests/Driver/UtilsTest.cpp
deleted file mode 100644
index 308e8d89109..00000000000
--- a/clang/unittests/Driver/UtilsTest.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-//===- unittests/Driver/UtilsTest.cpp --- Utils tests ---------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Unit tests for Driver/Util API.
-//
-//===----------------------------------------------------------------------===//
-
-#include "clang/Driver/Util.h"
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/Triple.h"
-#include "gtest/gtest.h"
-
-using namespace clang::driver;
-using namespace clang;
-
-TEST(UtilsTest, getARMCPUForMArch) {
- {
- llvm::Triple Triple("armv7s-apple-ios7");
- EXPECT_STREQ("swift", getARMCPUForMArch(Triple.getArchName(), Triple));
- }
- {
- llvm::Triple Triple("armv7-apple-ios7");
- EXPECT_STREQ("cortex-a8", getARMCPUForMArch(Triple.getArchName(), Triple));
- }
-}
OpenPOWER on IntegriCloud