mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Reformat all the LLVMs
Reformatting everything now that we have `llvm` namespaces. I've separated this from the main commit to help manage merge-conflicts and for making it a bit easier to read the mega-patch.
This commit is contained in:
@@ -238,20 +238,16 @@ public:
|
||||
|
||||
// Explicitly-specified Swift module inputs
|
||||
struct ExplicitSwiftModuleInputInfo {
|
||||
ExplicitSwiftModuleInputInfo(std::string modulePath,
|
||||
llvm::Optional<std::string> moduleDocPath,
|
||||
llvm::Optional<std::string> moduleSourceInfoPath,
|
||||
llvm::Optional<std::vector<std::string>> headerDependencyPaths,
|
||||
bool isFramework = false,
|
||||
bool isSystem = false,
|
||||
llvm::Optional<std::string> moduleCacheKey = llvm::None)
|
||||
: modulePath(modulePath),
|
||||
moduleDocPath(moduleDocPath),
|
||||
moduleSourceInfoPath(moduleSourceInfoPath),
|
||||
headerDependencyPaths(headerDependencyPaths),
|
||||
isFramework(isFramework),
|
||||
isSystem(isSystem),
|
||||
moduleCacheKey(moduleCacheKey) {}
|
||||
ExplicitSwiftModuleInputInfo(
|
||||
std::string modulePath, llvm::Optional<std::string> moduleDocPath,
|
||||
llvm::Optional<std::string> moduleSourceInfoPath,
|
||||
llvm::Optional<std::vector<std::string>> headerDependencyPaths,
|
||||
bool isFramework = false, bool isSystem = false,
|
||||
llvm::Optional<std::string> moduleCacheKey = llvm::None)
|
||||
: modulePath(modulePath), moduleDocPath(moduleDocPath),
|
||||
moduleSourceInfoPath(moduleSourceInfoPath),
|
||||
headerDependencyPaths(headerDependencyPaths), isFramework(isFramework),
|
||||
isSystem(isSystem), moduleCacheKey(moduleCacheKey) {}
|
||||
// Path of the .swiftmodule file.
|
||||
std::string modulePath;
|
||||
// Path of the .swiftmoduledoc file.
|
||||
@@ -270,16 +266,13 @@ struct ExplicitSwiftModuleInputInfo {
|
||||
|
||||
// Explicitly-specified Clang module inputs
|
||||
struct ExplicitClangModuleInputInfo {
|
||||
ExplicitClangModuleInputInfo(std::string moduleMapPath,
|
||||
std::string modulePath,
|
||||
bool isFramework = false,
|
||||
bool isSystem = false,
|
||||
llvm::Optional<std::string> moduleCacheKey = llvm::None)
|
||||
: moduleMapPath(moduleMapPath),
|
||||
modulePath(modulePath),
|
||||
isFramework(isFramework),
|
||||
isSystem(isSystem),
|
||||
moduleCacheKey(moduleCacheKey) {}
|
||||
ExplicitClangModuleInputInfo(
|
||||
std::string moduleMapPath, std::string modulePath,
|
||||
bool isFramework = false, bool isSystem = false,
|
||||
llvm::Optional<std::string> moduleCacheKey = llvm::None)
|
||||
: moduleMapPath(moduleMapPath), modulePath(modulePath),
|
||||
isFramework(isFramework), isSystem(isSystem),
|
||||
moduleCacheKey(moduleCacheKey) {}
|
||||
// Path of the Clang module map file.
|
||||
std::string moduleMapPath;
|
||||
// Path of a compiled Clang explicit module file (pcm).
|
||||
|
||||
Reference in New Issue
Block a user