Files
carbon-lang/toolchain/sem_ir/entry_point.h
T
Jon Ross-PerkinsandRichard Smith 949cc21ccc Remove SemIR:: from most sem_ir files (#5358)
This is just cleanup, at least some from LocId replacements.

---------

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
2025-04-25 16:06:10 +00:00

19 lines
604 B
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
#ifndef CARBON_TOOLCHAIN_SEM_IR_ENTRY_POINT_H_
#define CARBON_TOOLCHAIN_SEM_IR_ENTRY_POINT_H_
#include "toolchain/sem_ir/file.h"
namespace Carbon::SemIR {
// Returns whether the specified function is the entry point function for the
// program, `Main.Run`.
auto IsEntryPoint(const File& file, FunctionId function_id) -> bool;
} // namespace Carbon::SemIR
#endif // CARBON_TOOLCHAIN_SEM_IR_ENTRY_POINT_H_