mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2026-10-28 16:18:23 +08:00
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>
6 lines
206 B
Plaintext
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
|