efriedma added inline comments.

================
Comment at: lib/Sema/SemaChecking.cpp:12357
+      Context.getAsConstantArrayType(BaseExpr->getType());
+  const Type *BaseType = BaseExpr->getType()->getPointeeOrArrayElementType();
+
----------------
Using getPointeeOrArrayElementType here is kind of confusing; instead, we can 
just call `ArrayTy->getElementType()`.


Repository:
  rC Clang

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

https://reviews.llvm.org/D55862



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

Reply via email to