erichkeane added inline comments.
================ Comment at: clang/lib/AST/ExprConstant.cpp:4797 } + // Can't access properties of an incomplete type. + if (!RD->hasDefinition()) { ---------------- It seems to me that we shouldn't GET to this function with an incomplete type. I suspect whoever calls this is doing so incorrectly. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132918/new/ https://reviews.llvm.org/D132918 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits