Skip to content

Commit 1d2d379

Browse files
authored
Merge pull request swiftlang#9735 from cachemeifyoucan/eng/PR-141284501-invocation-api-release
[6.1][clang] Allow CompilerInvocation to change CASOptions
2 parents d64c6cf + e7a5528 commit 1d2d379

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/include/clang/Frontend/CompilerInvocation.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ class CompilerInvocation : public CompilerInvocationBase {
304304
return PPOpts;
305305
}
306306
std::shared_ptr<LangOptions> getLangOptsPtr() { return LangOpts; }
307+
std::shared_ptr<CASOptions> getCASOptsPtr() { return CASOpts; }
308+
void setCASOption(std::shared_ptr<CASOptions> CASOpts) {
309+
this->CASOpts = CASOpts;
310+
}
307311
/// @}
308312

309313
/// Create a compiler invocation from a list of input options.

0 commit comments

Comments
 (0)