This patch extends the #pragma clang diagnstic syntax to specify that a diagnostic affected by this pragma should only be applied to the following line. This is mainly a quality-of-life change that makes it simpler for ignoring or changing warnings for only 1 line.
The syntax is
#pragma clang diagnostic ignored line "-Wsign-conversion" signed_x = unisgned_y; // No warning
and is functionally equivalent to
#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wsign-conversion" signed_x = unsigned_y; // No warning #pragma clang diagnostic pop