mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CAS] Improve swift cas options
Using the same CASOption from clang to communicate CAS configurations so it is easier to exchange CAS configuration between them.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "clang/CAS/CASOptions.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -125,8 +126,8 @@ public:
|
||||
/// Use CAS.
|
||||
bool EnableCAS = false;
|
||||
|
||||
/// The CAS Path.
|
||||
std::string CASPath;
|
||||
/// CASOptions
|
||||
clang::CASOptions CASOpts;
|
||||
|
||||
/// CASFS Root.
|
||||
std::vector<std::string> CASFSRootIDs;
|
||||
|
||||
Reference in New Issue
Block a user