mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Caching][NFC] Restructure CASOption in swift. NFC
Clean up how CASOptions are kept and passed inside swift to make the code more readable. Also avoid a copy of CAS configuration in ClangImporter.
This commit is contained in:
@@ -129,33 +129,6 @@ public:
|
||||
/// The module for which we should verify all of the generic signatures.
|
||||
std::string VerifyGenericSignaturesInModule;
|
||||
|
||||
/// Enable compiler caching.
|
||||
bool EnableCaching = false;
|
||||
|
||||
/// Enable compiler caching remarks.
|
||||
bool EnableCachingRemarks = false;
|
||||
|
||||
/// Skip replaying outputs from cache.
|
||||
bool CacheSkipReplay = false;
|
||||
|
||||
/// CASOptions
|
||||
clang::CASOptions CASOpts;
|
||||
|
||||
/// CASFS Root.
|
||||
std::vector<std::string> CASFSRootIDs;
|
||||
|
||||
/// Clang Include Trees.
|
||||
std::vector<std::string> ClangIncludeTrees;
|
||||
|
||||
/// CacheKey for input file.
|
||||
std::string InputFileKey;
|
||||
|
||||
/// Enable using the LLVM MCCAS backend for object file output.
|
||||
bool UseCASBackend = false;
|
||||
|
||||
/// The output mode for the CAS Backend.
|
||||
llvm::CASBackendMode CASObjMode;
|
||||
|
||||
/// Emit a .casid file next to the object file if CAS Backend is used.
|
||||
bool EmitCASIDFile = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user