diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-07 14:42:25 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-07 14:42:25 +0000 |
| commit | f04ddd01c9d805507868da00a71c80d0fd355256 (patch) | |
| tree | fc85ade2b098f1ef592fab4c00b972302b99908b /llvm/include/llvm/Support/CommandLine.h | |
| parent | ed2f476b2039443d947eafff3b199005468e7e7e (diff) | |
| download | bcm5719-llvm-f04ddd01c9d805507868da00a71c80d0fd355256.tar.gz bcm5719-llvm-f04ddd01c9d805507868da00a71c80d0fd355256.zip | |
[C++11] Replace LLVM-style type traits with C++11 standard ones.
No functionality change.
llvm-svn: 203242
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
| -rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index b7d1592f137..e49a97ea541 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -24,7 +24,6 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/Compiler.h" -#include "llvm/Support/type_traits.h" #include <cassert> #include <climits> #include <cstdarg> @@ -422,7 +421,7 @@ struct OptionValueBase<DataType, false> : OptionValueCopy<DataType> { // Top-level option class. template<class DataType> -struct OptionValue : OptionValueBase<DataType, is_class<DataType>::value> { +struct OptionValue : OptionValueBase<DataType, std::is_class<DataType>::value> { OptionValue() {} OptionValue(const DataType& V) { @@ -1156,7 +1155,7 @@ template <class DataType, bool ExternalStorage = false, class ParserClass = parser<DataType> > class opt : public Option, public opt_storage<DataType, ExternalStorage, - is_class<DataType>::value> { + std::is_class<DataType>::value> { ParserClass Parser; bool handleOccurrence(unsigned pos, StringRef ArgName, |

