summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandOptionValidators.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-07-08 15:55:32 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-07-08 15:55:32 +0000
commit9734280f3344c1843f0417b8b95c5316c5b32683 (patch)
tree01fc12298a2011c58c2757520779cefe182b1e67 /lldb/source/Interpreter/CommandOptionValidators.cpp
parente693e8f8f0362b08658d0d74bc4c78198aa4ab70 (diff)
downloadbcm5719-llvm-9734280f3344c1843f0417b8b95c5316c5b32683.tar.gz
bcm5719-llvm-9734280f3344c1843f0417b8b95c5316c5b32683.zip
Fix broken tests due to new error output.
This reverses out the options validators changes. We'll get these back in once the changes to the output can be resolved. Restores broken tests on FreeBSD, Linux, MacOSX. Changes reverted: r212500, r212317, r212290. llvm-svn: 212543
Diffstat (limited to 'lldb/source/Interpreter/CommandOptionValidators.cpp')
-rw-r--r--lldb/source/Interpreter/CommandOptionValidators.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/lldb/source/Interpreter/CommandOptionValidators.cpp b/lldb/source/Interpreter/CommandOptionValidators.cpp
deleted file mode 100644
index 7d66de53c0b..00000000000
--- a/lldb/source/Interpreter/CommandOptionValidators.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-//===-- CommandOptionValidators.cpp -----------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "lldb/Interpreter/CommandOptionValidators.h"
-
-#include "lldb/Interpreter/CommandInterpreter.h"
-#include "lldb/Target/Platform.h"
-
-using namespace lldb;
-using namespace lldb_private;
-
-bool PosixPlatformCommandOptionValidator::IsValid(Platform &platform, const ExecutionContext &target) const
-{
- llvm::Triple::OSType os = platform.GetSystemArchitecture().GetTriple().getOS();
- switch (os)
- {
- // Are there any other platforms that are not POSIX-compatible?
- case llvm::Triple::Win32:
- return false;
- default:
- return true;
- }
-}
-
-const char* PosixPlatformCommandOptionValidator::ShortConditionString() const
-{
- return "POSIX";
-}
-
-const char* PosixPlatformCommandOptionValidator::LongConditionString() const
-{
- return "Option only valid for POSIX-compliant hosts.";
-}
OpenPOWER on IntegriCloud