Commit 769cc3d
committed
Return pointer to non-const for getExecutionEngine
The `clang::Interpreter` wrapper previously returned a pointer to const,
but the actual `clang::Interpreter` did not. This breaks code for anyone
porting from `clang::Interpreter` to `Cpp::Interpreter`, especially
since most operations on the execution engine are mutations of some
sort.
Yes, the user could static cast the wrapper to the inner interpreter,
but, at that point, why both exposing the `getExecutionEngine` function
at all?1 parent e1ace51 commit 769cc3d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments