diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-29 23:26:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-29 23:26:16 +0000 |
commit | b587f9662a7b6f00f9ce48ddf2dea1a4fb18a6db (patch) | |
tree | 0ea6cff0050e8dd51b9d51551ccb0cbbbab0b27f /lib/Support | |
parent | 22523ad737456817c2edbd5047344b0a0d4c27bc (diff) | |
download | external_llvm-b587f9662a7b6f00f9ce48ddf2dea1a4fb18a6db.zip external_llvm-b587f9662a7b6f00f9ce48ddf2dea1a4fb18a6db.tar.gz external_llvm-b587f9662a7b6f00f9ce48ddf2dea1a4fb18a6db.tar.bz2 |
Add support for a character after a command line option. Like '-Os'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/CommandLine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index e4f65ba..4922560 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -45,10 +45,12 @@ TEMPLATE_INSTANTIATION(class basic_parser<unsigned>); TEMPLATE_INSTANTIATION(class basic_parser<double>); TEMPLATE_INSTANTIATION(class basic_parser<float>); TEMPLATE_INSTANTIATION(class basic_parser<std::string>); +TEMPLATE_INSTANTIATION(class basic_parser<char>); TEMPLATE_INSTANTIATION(class opt<unsigned>); TEMPLATE_INSTANTIATION(class opt<int>); TEMPLATE_INSTANTIATION(class opt<std::string>); +TEMPLATE_INSTANTIATION(class opt<char>); TEMPLATE_INSTANTIATION(class opt<bool>); void Option::anchor() {} @@ -60,6 +62,7 @@ void parser<unsigned>::anchor() {} void parser<double>::anchor() {} void parser<float>::anchor() {} void parser<std::string>::anchor() {} +void parser<char>::anchor() {} //===----------------------------------------------------------------------===// |