Simplify diagnostic pragmas