yihanaa added a comment. In D131979#3726686 <https://reviews.llvm.org/D131979#3726686>, @erichkeane wrote:
> I think the correct answer here is instead to prohibit using this on > array/string literal types in Sema instead of just ignoring the call. Thanks for you replay @erichkeane , in clang/lib/CodeGen/CodeGenFunction.cpp:2442, Since E = CE->getSubExprAsWritten() is used, implicit cast is no longer visible in clang::CodeGenCodeGenFunction::emitAlignmentAssumptionCheck Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131979/new/ https://reviews.llvm.org/D131979 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits