[llvm-commits] CVS: llvm/include/Support/CommandLine.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 23 21:52:06 PST 2004
Changes in directory llvm/include/Support:
CommandLine.h updated: 1.29 -> 1.30
---
Log message:
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!
---
Diffs of the changes: (+3 -2)
Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.29 llvm/include/Support/CommandLine.h:1.30
--- llvm/include/Support/CommandLine.h:1.29 Sun Nov 16 14:21:13 2003
+++ llvm/include/Support/CommandLine.h Mon Feb 23 21:50:05 2004
@@ -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 @@
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) {
More information about the llvm-commits
mailing list