/
githubmirror
/
carbon-lang
Обзор
Документация
Войти
/
githubmirror
/
carbon-lang
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
utils/textmate/Samples/comments.carbon
14 строк
514 B
Chandler Carruth
Replace `:!` binding syntax with phase keywords and contextual defaults (#7479)
11 июл 2026, 04:22
Не верифицирован
11 июл 2026, 04:22
8be274c
Код
Авторство
О чём код?
// 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 // This is a comment. // Comment with whitespace. // class C; fn F[T: A](a: T) -> i32 { return 86; } //@dump-sem-ir-begin //@dump-sem-ir-end //@dump-sem-ir- //no whitespace after double slash /* invalid comment pattern. */ /// invalid comment pattern. class C; // Comment after a statement/expression/declaration.