File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -968,6 +968,7 @@ def IsWithinLifetime : LangBuiltin<"CXX_LANG"> {
968968 let Spellings = [" __builtin_is_within_lifetime" ];
969969 let Attributes = [NoThrow, CustomTypeChecking, Consteval];
970970 let Prototype = " bool(void*)" ;
971+ }
971972
972973def ClearPadding : LangBuiltin<" CXX_LANG" > {
973974 let Spellings = [" __builtin_clear_padding" ];
Original file line number Diff line number Diff line change @@ -2711,12 +2711,12 @@ struct PaddingClearer {
27112711 if (Field->isBitField ()) {
27122712 llvm::dbgs () << " clear_padding found bit field. Adding Interval ["
27132713 << StartBitOffset + FieldOffset << " , "
2714- << FieldOffset + Field->getBitWidthValue (CGF. getContext () )
2714+ << FieldOffset + Field->getBitWidthValue ()
27152715 << " )\n " ;
27162716 OccuppiedIntervals.push_back (
27172717 BitInterval{StartBitOffset + FieldOffset,
27182718 StartBitOffset + FieldOffset +
2719- Field->getBitWidthValue (CGF. getContext () )});
2719+ Field->getBitWidthValue ()});
27202720 } else {
27212721 Queue.push_back (
27222722 Data{StartBitOffset + FieldOffset, Field->getType (), true });
You can’t perform that action at this time.
0 commit comments