[PATCH] Do not insert asan paddings after fields that have flexible arrays.
Richard Smith
richard at metafoo.co.uk
Mon Oct 27 12:28:12 PDT 2014
LGTM
================
Comment at: lib/AST/RecordLayoutBuilder.cpp:1335
@@ +1334,3 @@
+ bool HasFlexibleArrayMember = D->hasFlexibleArrayMember();
+ // for (const auto *Field : D->fields())
+ for (auto I = D->field_begin(), End = D->field_end(); I != End; ++I) {
----------------
Remove this comment.
http://reviews.llvm.org/D5924
More information about the cfe-commits
mailing list