зеркало из https://github.com/microsoft/clang-1.git
This doesn't seem to be used code as it didn't break any tests, but fix the
glaring logic bug anyways. =D git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
2a393db096
Коммит
53cb6f82c4
|
@ -4510,7 +4510,7 @@ TreeTransform<Derived>::TransformCXXDefaultArgExpr(CXXDefaultArgExpr *E) {
|
|||
if (!Param)
|
||||
return SemaRef.ExprError();
|
||||
|
||||
if (getDerived().AlwaysRebuild() &&
|
||||
if (!getDerived().AlwaysRebuild() &&
|
||||
Param == E->getParam())
|
||||
return SemaRef.Owned(E->Retain());
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче