xref: /llvm-project/libc/test/UnitTest/CmakeFilePath.cpp (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
1d94fe972SMichael Jones //===-- Implementation of the file path generator for cmake ---------------===//
2d94fe972SMichael Jones //
3d94fe972SMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4d94fe972SMichael Jones // See https://llvm.org/LICENSE.txt for license information.
5d94fe972SMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6d94fe972SMichael Jones //
7d94fe972SMichael Jones //===----------------------------------------------------------------------===//
8d94fe972SMichael Jones 
9d94fe972SMichael Jones #include "LibcTest.h"
10d94fe972SMichael Jones 
11d94fe972SMichael Jones #include "src/__support/CPP/string.h"
12d94fe972SMichael Jones #include "src/__support/c_string.h"
13*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
14d94fe972SMichael Jones 
15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
16*5ff3ff33SPetr Hosek namespace testing {
17d94fe972SMichael Jones 
18d94fe972SMichael Jones CString libc_make_test_file_path_func(const char *file_name) {
19d94fe972SMichael Jones   return cpp::string(file_name);
20d94fe972SMichael Jones }
21d94fe972SMichael Jones 
22*5ff3ff33SPetr Hosek } // namespace testing
23*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
24