Skip to content

Commit 3c42d17

Browse files
dmitriplotnikovcopybara-github
authored andcommitted
Add GetCompilerOptions accessor to cel::Env.
PiperOrigin-RevId: 965251244
1 parent e6485ab commit 3c42d17

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

env/env.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class Env {
5959

6060
void SetConfig(const Config& config) { config_ = config; }
6161

62+
CompilerOptions& GetCompilerOptions() { return compiler_options_; }
63+
6264
absl::StatusOr<std::unique_ptr<CompilerBuilder>> NewCompilerBuilder();
6365

6466
// Shortcut for NewCompilerBuilder() followed by Build().

0 commit comments

Comments
 (0)