diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 0a3cb6f320b..d258b9d4e29 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -20,14 +20,15 @@ #ifndef SUPPORT_COMMANDLINE_H #define SUPPORT_COMMANDLINE_H +#include "Support/type_traits.h" #include #include #include #include #include -#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 opt : public Option, public opt_storage::value> { + is_class::value> { ParserClass Parser; virtual bool handleOccurrence(const char *ArgName, const std::string &Arg) { diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 0a3cb6f320b..d258b9d4e29 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -20,14 +20,15 @@ #ifndef SUPPORT_COMMANDLINE_H #define SUPPORT_COMMANDLINE_H +#include "Support/type_traits.h" #include #include #include #include #include -#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 opt : public Option, public opt_storage::value> { + is_class::value> { ParserClass Parser; virtual bool handleOccurrence(const char *ArgName, const std::string &Arg) {