summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/CommandLine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-24 03:50:05 +0000
committerChris Lattner <sabre@nondot.org>2004-02-24 03:50:05 +0000
commit101e704b0bb7868df8f117aa0b05188d0f705b76 (patch)
tree14df084b38cb635b12c08f6cf85e1aaaa5271e0a /llvm/include/Support/CommandLine.h
parent78eed17a296aa307e0d3467374df375598b6091b (diff)
downloadbcm5719-llvm-101e704b0bb7868df8f117aa0b05188d0f705b76.tar.gz
bcm5719-llvm-101e704b0bb7868df8f117aa0b05188d0f705b76.zip
Use the new LLVM is_class template instead of the boost one, allowing us to
remove our dependency on boost! Thanks to Reid Spencer for making this possible! llvm-svn: 11785
Diffstat (limited to 'llvm/include/Support/CommandLine.h')
-rw-r--r--llvm/include/Support/CommandLine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/Support/CommandLine.h b/llvm/include/Support/CommandLine.h
index 0a3cb6f320b..d258b9d4e29 100644
--- a/llvm/include/Support/CommandLine.h
+++ b/llvm/include/Support/CommandLine.h
@@ -20,14 +20,15 @@
#ifndef SUPPORT_COMMANDLINE_H
#define SUPPORT_COMMANDLINE_H
+#include "Support/type_traits.h"
#include <string>
#include <vector>
#include <utility>
#include <cstdarg>
#include <cassert>
-#include "boost/type_traits/object_traits.hpp"
namespace llvm {
+
/// cl Namespace - This namespace contains all of the command line option
/// processing machinery. It is intentionally a short name to make qualified
/// usage concise.
@@ -719,7 +720,7 @@ template <class DataType, bool ExternalStorage = false,
class ParserClass = parser<DataType> >
class opt : public Option,
public opt_storage<DataType, ExternalStorage,
- ::boost::is_class<DataType>::value> {
+ is_class<DataType>::value> {
ParserClass Parser;
virtual bool handleOccurrence(const char *ArgName, const std::string &Arg) {
OpenPOWER on IntegriCloud