ModuleInterface: refactor out a utility to extract compiler flags from a module interface file. NFC

This commit is contained in:
Xi Ge
2021-05-02 22:41:39 -07:00
parent 57a893bdb3
commit 3d6662f382
5 changed files with 18 additions and 12 deletions

View File

@@ -461,7 +461,9 @@ public:
}
};
/// Extract compiler arguments from an interface file buffer.
bool extractCompilerFlagsFromInterface(StringRef buffer, llvm::StringSaver &ArgSaver,
SmallVectorImpl<const char *> &SubArgs);
} // end namespace swift
#endif