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