You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Dependency Scanning] Add option to specify a separate Clang Dependency scanner module cache.
Clang dependency scanning produces scanner PCMs which we may want to live in a different filesystem location than the main build module cache.
Resolves rdar://113222853
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+2
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ extension Option {
75
75
publicstaticletclangHeaderExposeModule:Option=Option("-clang-header-expose-module",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<imported-module-name>=<generated-header-name>", helpText:"Allow the compiler to assume that APIs from the specified module are exposed to C/C++/Objective-C in another generated header, so that APIs in the current module that depend on declarations from the specified module can be exposed in the generated header.")
76
76
publicstaticletclangIncludeTreeRoot:Option=Option("-clang-include-tree-root",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<cas-id>", helpText:"Clang Include Tree CASID")
77
77
publicstaticletclangIncludeTree:Option=Option("-clang-include-tree",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use clang include tree")
78
+
publicstaticletclangScannerModuleCachePath:Option=Option("-clang-scanner-module-cache-path",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], helpText:"Specifies the Clang dependency scanner module cache path")
78
79
publicstaticletclangTarget:Option=Option("-clang-target",.separate, attributes:[.frontend], helpText:"Separately set the target we should use for internal Clang instance")
79
80
publicstaticletcodeCompleteCallPatternHeuristics:Option=Option("-code-complete-call-pattern-heuristics",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use heuristics to guess whether we want call pattern completions")
80
81
publicstaticletcodeCompleteInitsInPostfixExpr:Option=Option("-code-complete-inits-in-postfix-expr",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Include initializers when completing a postfix expression")
0 commit comments