[PATCH] D92892: [clang] Change builtin object size to be compatible with GCC when sub-object is invalid

George Burgess IV via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 6 09:23:53 PST 2021


george.burgess.iv accepted this revision.
george.burgess.iv added a comment.
This revision is now accepted and ready to land.

thanks for working on this!

just one tiny nit and lgtm



================
Comment at: clang/lib/AST/ExprConstant.cpp:11408
 
   // If we point to before the start of the object, there are no accessible
   // bytes.
----------------
nit: the new part of this condition makes this comment somewhat outdated. should it say something like "outside of" instead of "before"?


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

https://reviews.llvm.org/D92892



More information about the cfe-commits mailing list