diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 8ea8f8211af..23a12855439 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -562,6 +562,10 @@ template struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } }; +template struct applicator { + template + static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } +}; template<> struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 8ea8f8211af..23a12855439 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -562,6 +562,10 @@ template struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } }; +template struct applicator { + template + static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } +}; template<> struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); }