зеркало из https://github.com/microsoft/clang-1.git
Eliminate warning in Release-Asserts mode. No functionality change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
56ac85c4fd
Коммит
958aeb04f4
|
@ -3052,6 +3052,7 @@ Sema::ActOnCallExpr(Scope *S, ExprArg fn, SourceLocation LParenLoc,
|
||||||
// method template.
|
// method template.
|
||||||
assert((MemE->getNumDecls() > 1) ||
|
assert((MemE->getNumDecls() > 1) ||
|
||||||
isa<FunctionTemplateDecl>(*MemE->decls_begin()));
|
isa<FunctionTemplateDecl>(*MemE->decls_begin()));
|
||||||
|
(void)MemE;
|
||||||
|
|
||||||
return Owned(BuildCallToMemberFunction(S, Fn, LParenLoc, Args, NumArgs,
|
return Owned(BuildCallToMemberFunction(S, Fn, LParenLoc, Args, NumArgs,
|
||||||
CommaLocs, RParenLoc));
|
CommaLocs, RParenLoc));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче