aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-db/CLICommand.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-22 00:00:37 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-22 00:00:37 +0000
commit3da94aec4d429b2ba0f65fa040c33650cade196b (patch)
treef54f7eb8e1f7b75bc469c85c868c76b3860e0297 /tools/llvm-db/CLICommand.h
parentfd93908ae8b9684fe71c239e3c6cfe13ff6a2663 (diff)
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-db/CLICommand.h')
-rw-r--r--tools/llvm-db/CLICommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/llvm-db/CLICommand.h b/tools/llvm-db/CLICommand.h
index ad8b8403bd..0b60e05212 100644
--- a/tools/llvm-db/CLICommand.h
+++ b/tools/llvm-db/CLICommand.h
@@ -1,10 +1,10 @@
//===- CLICommand.h - Classes used to represent commands --------*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file defines a small class hierarchy used to represent the various types
@@ -74,7 +74,7 @@ namespace llvm {
/// removeOptionName - Eliminate one of the names for this option.
///
void removeOptionName(const std::string &Name) {
- unsigned i = 0;
+ unsigned i = 0;
for (; OptionNames[i] != Name; ++i)
assert(i+1 < OptionNames.size() && "Didn't find option name!");
OptionNames.erase(OptionNames.begin()+i);
@@ -101,7 +101,7 @@ namespace llvm {
BuiltinCLICommand(const std::string &ShortHelp, const std::string &LongHelp,
void (CLIDebugger::*impl)(std::string&))
: CLICommand(ShortHelp, LongHelp), Impl(impl) {}
-
+
void runCommand(CLIDebugger &D, std::string &Arguments) {
(D.*Impl)(Arguments);
}