mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 18:21:16 +01:00
27 lines
757 B
Python
27 lines
757 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
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
cc_library(
|
|
name = "semantics",
|
|
srcs = ["semantics.cpp"],
|
|
hdrs = ["semantics.h"],
|
|
deps = ["//toolchain/parser:parse_tree"],
|
|
)
|
|
|
|
cc_test(
|
|
name = "semantics_test",
|
|
size = "small",
|
|
srcs = ["semantics_test.cpp"],
|
|
deps = [
|
|
":semantics",
|
|
"//toolchain/diagnostics:diagnostic_emitter",
|
|
"//toolchain/lexer:tokenized_buffer",
|
|
"//toolchain/parser:parse_tree",
|
|
"//toolchain/source:source_buffer",
|
|
"@com_google_googletest//:gtest_main",
|
|
],
|
|
)
|