Refactor compile-time assertion checks in c.h This commit refactors and simplifies the definitions of StaticAssertStmt, StaticAssertExpr and StaticAssertDecl. By unifying the C and C++ fallback implementations, this reduces the number of different implementations from four to three.
Author: Michael Paquier Reviewed-by: Georgios Kokolatos, Tom Lane Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b7f64c64d3262c309e2c5e8c11fd111b1dbd1a4a Modified Files -------------- src/include/c.h | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-)
