mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add flag that allows ignoring compiler flags specified in an interface file when running a '-compile-module-from-interface' frontend action.
This commit is contained in:
@@ -86,7 +86,9 @@ private:
|
||||
SmallVectorImpl<SerializationOptions::FileDependency> &Deps,
|
||||
bool IsHashBased);
|
||||
|
||||
bool buildSwiftModuleInternal(StringRef OutPath, bool ShouldSerializeDeps,
|
||||
bool buildSwiftModuleInternal(StringRef OutPath,
|
||||
bool ShouldSerializeDeps,
|
||||
bool IgnoreInterfaceProvidedOptions,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer,
|
||||
ArrayRef<std::string> CandidateModules);
|
||||
public:
|
||||
@@ -116,7 +118,9 @@ public:
|
||||
extraDependencies.push_back(path);
|
||||
}
|
||||
|
||||
bool buildSwiftModule(StringRef OutPath, bool ShouldSerializeDeps,
|
||||
bool buildSwiftModule(StringRef OutPath,
|
||||
bool ShouldSerializeDeps,
|
||||
bool ignoreInterfaceProvidedOptions,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer,
|
||||
llvm::function_ref<void()> RemarkRebuild = nullptr,
|
||||
ArrayRef<std::string> CandidateModules = {});
|
||||
|
||||
Reference in New Issue
Block a user