forked from OSchip/llvm-project
parent
63cee81c3c
commit
b54368c1b8
|
@ -4223,9 +4223,9 @@ isNullPointerValueTemplateArgument(Sema &S, NonTypeTemplateParmDecl *Param,
|
|||
if (Arg->isValueDependent() || Arg->isTypeDependent())
|
||||
return NPV_NotNullPointer;
|
||||
|
||||
if (ParamType->isMemberPointerType())
|
||||
if (S.Context.getTargetInfo().getCXXABI().isMicrosoft())
|
||||
S.RequireCompleteType(Arg->getExprLoc(), ParamType, 0);
|
||||
if (S.RequireCompleteType(Arg->getExprLoc(), ParamType, 0))
|
||||
llvm_unreachable(
|
||||
"Incomplete parameter type in isNullPointerValueTemplateArgument!");
|
||||
|
||||
if (!S.getLangOpts().CPlusPlus11)
|
||||
return NPV_NotNullPointer;
|
||||
|
|
Loading…
Reference in New Issue