mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85547 from cachemeifyoucan/eng/PR-164903080
Revert "[Caching][NFC] Using llvm::cas::CASConfiguration"
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
#include "llvm/CAS/CASConfiguration.h"
|
||||
#include "llvm/CAS/CachingOnDiskFileSystem.h"
|
||||
#include "llvm/Support/Mutex.h"
|
||||
#include <optional>
|
||||
@@ -1037,8 +1036,8 @@ using BridgeClangDependencyCallback = llvm::function_ref<ModuleDependencyInfo(
|
||||
/// A carrier of state shared among possibly multiple invocations of the
|
||||
/// dependency scanner.
|
||||
class SwiftDependencyScanningService {
|
||||
/// The CAS configuration created the Scanning Service if used.
|
||||
std::optional<llvm::cas::CASConfiguration> CASConfig;
|
||||
/// The CASOption created the Scanning Service if used.
|
||||
std::optional<clang::CASOptions> CASOpts;
|
||||
|
||||
/// The persistent Clang dependency scanner service
|
||||
std::optional<clang::tooling::dependencies::DependencyScanningService>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "clang/CAS/CASOptions.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/CAS/CASConfiguration.h"
|
||||
|
||||
namespace swift {
|
||||
|
||||
@@ -38,8 +37,8 @@ public:
|
||||
/// Import modules from CAS.
|
||||
bool ImportModuleFromCAS = false;
|
||||
|
||||
/// CAS Configuration.
|
||||
llvm::cas::CASConfiguration Config;
|
||||
/// CASOptions
|
||||
clang::CASOptions CASOpts;
|
||||
|
||||
/// Clang Include Trees.
|
||||
std::string ClangIncludeTree;
|
||||
|
||||
Reference in New Issue
Block a user