[clang] d3d8442 - Fix the buildbot error.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 17 01:50:02 PDT 2020
Author: Haojian Wu
Date: 2020-03-17T09:49:43+01:00
New Revision: d3d844212fc96fb70f77431f0e6a70e0603b0a39
URL: https://github.com/llvm/llvm-project/commit/d3d844212fc96fb70f77431f0e6a70e0603b0a39
DIFF: https://github.com/llvm/llvm-project/commit/d3d844212fc96fb70f77431f0e6a70e0603b0a39.diff
LOG: Fix the buildbot error.
Added:
Modified:
clang/lib/AST/ComputeDependence.cpp
Removed:
################################################################################
diff --git a/clang/lib/AST/ComputeDependence.cpp b/clang/lib/AST/ComputeDependence.cpp
index 673e651173a3..4ca4eacde8b7 100644
--- a/clang/lib/AST/ComputeDependence.cpp
+++ b/clang/lib/AST/ComputeDependence.cpp
@@ -604,8 +604,8 @@ ExprDependence clang::computeDependence(DependentScopeDeclRefExpr *E) {
ExprDependence clang::computeDependence(CXXConstructExpr *E) {
auto D = toExprDependence(E->getType()->getDependence());
- for (auto *E : E->arguments())
- D |= E->getDependence() & ~ExprDependence::Type;
+ for (auto *A : E->arguments())
+ D |= A->getDependence() & ~ExprDependence::Type;
return D;
}
More information about the cfe-commits
mailing list