[clang] [clang][AST] fix dereference on class/struct layouts check. (PR #83686)
bjrjk wrote: Hello, this is a mininal reproducer execute with `clang++ -Xclang -fdump-record-layouts-complete test.cpp`: ```cpp template struct integral_constant { static constexpr const _Tp value = __v; typedef integral_constant type; }; template using _BoolConstant = integral_constant; template struct is_same : _BoolConstant<__is_same(_Tp, _Up)> {}; ``` https://github.com/llvm/llvm-project/pull/83686 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] [Sema] Do not attempt to dump the layout of dependent types when `-fdump-record-layouts-complete` is passed (PR #83688)
bjrjk wrote: > > This might also fix #83671 > > From what I saw, that’s a different problem, and there’s a different pr for > that already, but I’ll double-check. Seems not same problem, root cause are different. https://github.com/llvm/llvm-project/pull/83688 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits