Files
ClickHouse/.gitattributes
Valery PetrovandClaude Opus 5.5 7fde8aac6e Build the PromQL grammar from its place in src
The library is now `clickhouse_antlr4_grammars`, defined by
src/Parsers/Prometheus/grammar/CMakeLists.txt. src/CMakeLists.txt adds it
before configure_config.cmake so that USE_ANTLR4_GRAMMARS is still set from
the target, and ENABLE_ANTLR4_GRAMMARS still turns it off.

The generated sources are built as they were in contrib: without warnings,
clang-tidy, coverage instrumentation, UBSan and XRay. They are also left out of the
C++ style checks, the ClickHouse spelling check, clang-tidy's header filter and
the coverage report, and marked linguist-generated. The generated C++ is
unchanged: regenerating it from the moved grammar gives identical files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 19:09:42 -07:00

6 lines
206 B
Plaintext

contrib/* linguist-vendored
src/Parsers/Prometheus/grammar/generated/** linguist-generated
*.h linguist-language=C++
tests/queries/0_stateless/data_json/* binary
tests/queries/0_stateless/*.reference -crlf