mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 06:25:49 +01:00
This is just cleanup, at least some from LocId replacements. --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk>
19 lines
604 B
C++
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_
|