--- # clang-tidy for pg_clickhouse # # PostgreSQL extensions use palloc/pfree, longjmp-based error handling, # and C89-ish idioms — checks are tuned accordingly. Checks: > -*, bugprone-assert-side-effect, bugprone-double-free, bugprone-unchecked-optional-access bugprone-unchecked-string-to-number-conversion, bugprone-use-after-move, clang-analyzer-*, -clang-analyzer-optin.performance*, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, misc-redundant-expression, misc-unused-using-decls, readability-duplicate-include, readability-redundant-preprocessor, WarningsAsErrors: > bugprone-double-free, bugprone-use-after-move, clang-analyzer-core.*, CheckOptions: - key: bugprone-assert-side-effect.AssertMacros value: Assert;AssertArg;AssertState HeaderFilterRegex: "src/include/.*"