Implement first round of feedback on __builtin_overload
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46572 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Expr.cpp b/AST/Expr.cpp
index 210d1a2..e209db3 100644
--- a/AST/Expr.cpp
+++ b/AST/Expr.cpp
@@ -1291,7 +1291,7 @@
return reinterpret_cast<Stmt**>(&SubExprs[0]);
}
Stmt::child_iterator OverloadExpr::child_end() {
- return reinterpret_cast<Stmt**>(&SubExprs[NumArgs]);
+ return reinterpret_cast<Stmt**>(&SubExprs[NumExprs]);
}
// VAArgExpr