From: Samuel Benzaquen Date: Fri, 25 Mar 2016 19:41:32 +0000 (+0000) Subject: [ASTMatchers] Don't use brace-init lists. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62ff4df369222fa99cd9d78cf3ce9edf34c9d753;p=clang [ASTMatchers] Don't use brace-init lists. They are not supported everywhere yet. This fixes the MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264453 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/ASTMatchersInternal.h b/include/clang/ASTMatchers/ASTMatchersInternal.h index 87ca05b079..efe15156d7 100644 --- a/include/clang/ASTMatchers/ASTMatchersInternal.h +++ b/include/clang/ASTMatchers/ASTMatchersInternal.h @@ -69,7 +69,7 @@ namespace internal { template )> struct VariadicFunction { - ResultT operator()() const { return Func({}); } + ResultT operator()() const { return Func(None); } template ResultT operator()(const ArgT &Arg1, const ArgsT &... Args) const {