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 @@ -974,6 +974,7 @@ def IsWithinLifetime : LangBuiltin<"CXX_LANG"> {
974974 let Spellings = [" __builtin_is_within_lifetime" ];
975975 let Attributes = [NoThrow, CustomTypeChecking, Consteval];
976976 let Prototype = " bool(void*)" ;
977+ }
977978
978979def ClearPadding : LangBuiltin<" CXX_LANG" > {
979980 let Spellings = [" __builtin_clear_padding" ];
Original file line number Diff line number Diff line change @@ -2749,12 +2749,12 @@ struct PaddingClearer {
27492749 if (Field->isBitField ()) {
27502750 llvm::dbgs () << " clear_padding found bit field. Adding Interval ["
27512751 << StartBitOffset + FieldOffset << " , "
2752- << FieldOffset + Field->getBitWidthValue (CGF. getContext () )
2752+ << FieldOffset + Field->getBitWidthValue ()
27532753 << " )\n " ;
27542754 OccuppiedIntervals.push_back (
27552755 BitInterval{StartBitOffset + FieldOffset,
27562756 StartBitOffset + FieldOffset +
2757- Field->getBitWidthValue (CGF. getContext () )});
2757+ Field->getBitWidthValue ()});
27582758 } else {
27592759 Queue.push_back (
27602760 Data{StartBitOffset + FieldOffset, Field->getType (), true });
You can’t perform that action at this time.
0 commit comments