/
githubmirror
/
carbon-lang
Обзор
Документация
Войти
/
githubmirror
/
carbon-lang
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
testing/file_test/manifest.cpp
23 строки
720 B
Thomas Köppe
Add missing standard library header inclusions (#5316)
17 апр 2025, 18:37
Не верифицирован
17 апр 2025, 18:37
bf32da8
Код
Авторство
О чём код?
// 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 "testing/file_test/manifest.h" #include <string> // The test manifest, produced by `manifest_as_cpp`. // NOLINTNEXTLINE(readability-identifier-naming): Constant in practice. extern const char* CarbonFileTestManifest[]; namespace Carbon::Testing { auto GetFileTestManifest() -> llvm::SmallVector<std::string> { llvm::SmallVector<std::string> manifest; for (int i = 0; CarbonFileTestManifest[i]; ++i) { manifest.push_back(CarbonFileTestManifest[i]); } return manifest; } } // namespace Carbon::Testing