Files
swift-mirror/lib/ClangImporter/ClangIncludePaths.h
Alex Lorenz eba8a00673 [interop] Inject header files into libstdcxx.modulemap dynamically
This allows the module map we use for libstdc++ to correctly include optional headers like "any" and other C++17/20 files.
2023-03-08 07:59:52 -08:00

26 lines
864 B
C++

//===--- ClangIncludePaths.h ------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2022 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_CLANG_INCLUDE_PATHS_H
#define SWIFT_CLANG_INCLUDE_PATHS_H
#include "swift/AST/ASTContext.h"
namespace swift {
Optional<SmallString<128>> getCxxShimModuleMapPath(SearchPathOptions &opts,
const llvm::Triple &triple);
} // namespace swift
#endif // SWIFT_CLANG_INCLUDE_PATHS_H