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:
@@ -23,6 +23,7 @@
|
||||
#include "swift/Basic/LLVM.h"
|
||||
#include "swift/Basic/Version.h"
|
||||
#include "swift/Config.h"
|
||||
#include "clang/CAS/CASOptions.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
@@ -820,7 +821,7 @@ namespace swift {
|
||||
std::string Optimization;
|
||||
|
||||
/// clang CASOptions.
|
||||
std::string CASPath;
|
||||
llvm::Optional<clang::CASOptions> CASOpts;
|
||||
|
||||
/// Cache key for imported bridging header.
|
||||
std::string BridgingHeaderPCHCacheKey;
|
||||
|
||||
Reference in New Issue
Block a user