[PATCH] D136828: [clang][Interp] Diagnose uninitialized array record fields

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 5 00:53:28 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Interp/Interp.cpp:446-448
+static void DiagnoseUninitializedSubobject(InterpState &S, const SourceInfo &SI,
+                                           QualType SubObjType,
+                                           SourceLocation SL) {
----------------
aaron.ballman wrote:
> Some comments describing what `SL` does would be helpful, since it's a bit special.
Renamed it to `SubObjLoc` instead of adding a comment, I think that's enough.


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

https://reviews.llvm.org/D136828



More information about the cfe-commits mailing list