bolt/deps/llvm-18.1.8/libc/test/UnitTest/CmakeFilePath.cpp

21 lines
643 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
//===-- Implementation of the file path generator for cmake ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "LibcTest.h"
#include "src/__support/CPP/string.h"
#include "src/__support/c_string.h"
namespace LIBC_NAMESPACE::testing {
CString libc_make_test_file_path_func(const char *file_name) {
return cpp::string(file_name);
}
} // namespace LIBC_NAMESPACE::testing