efriedma added inline comments.

================
Comment at: clang/lib/CodeGen/CGExprConstant.cpp:917
+  bool VisitArraySubscriptExpr(const ArraySubscriptExpr *A) {
+    return Visit(A->getBase()) || Visit(A->getIdx());
+  }
----------------
Should only need to visit base, not idx.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151587/new/

https://reviews.llvm.org/D151587

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to