mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Update tree-sitter grammar to match toolchain, plus a couple of features the toolchain doesn't yet implement: `like`, `each`, `expand`, `friend`. Assisted-by: Claude via Antigravity
27 lines
848 B
Python
27 lines
848 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
load("@rules_python//python:defs.bzl", "py_test")
|
|
load("//bazel/cc_rules:defs.bzl", "cc_library")
|
|
|
|
py_test(
|
|
name = "no_op_test",
|
|
size = "small",
|
|
srcs = ["no_op_test.py"],
|
|
main = "no_op_test.py",
|
|
)
|
|
|
|
cc_library(
|
|
name = "deps_for_clangd_tidy",
|
|
srcs = ["deps_for_clangd_tidy.cpp"],
|
|
deps = [
|
|
# These targets use `strip_include_prefix`, which results in
|
|
# `_virtual_includes` being part of the `compile_commands.json`. To
|
|
# support tools like `clangd-tidy`, this is intended to generate those
|
|
# directories.
|
|
"@boost.unordered",
|
|
"@tree-sitter-bazel//lib/include/tree_sitter:api",
|
|
],
|
|
)
|