mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
As discussed [on discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282) and today's toolchain discussion.
73 lines
1.7 KiB
C++
73 lines
1.7 KiB
C++
// 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
|
|
|
|
#include "toolchain/check/context.h"
|
|
|
|
namespace Carbon::Check {
|
|
|
|
// `import` and `package` are structured by parsing. As a consequence, no
|
|
// checking logic is needed here.
|
|
|
|
auto HandleImportIntroducer(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleImportDirective(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleLibraryIntroducer(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleLibraryDirective(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandlePackageIntroducer(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandlePackageDirective(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleLibrarySpecifier(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandlePackageName(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleLibraryName(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandleDefaultLibrary(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandlePackageApi(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
auto HandlePackageImpl(Context& /*context*/, Parse::NodeId /*parse_node*/)
|
|
-> bool {
|
|
return true;
|
|
}
|
|
|
|
} // namespace Carbon::Check
|