diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2024-08-13 20:04:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 20:04:18 +0100 |
| commit | 28050e1b0b9da6d9c24ba20e8c70cf90b8135f49 (patch) | |
| tree | cdcba931b833e69fd1306951b628b5711b22e5b1 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface | |
| parent | 5b40a05d8f2872e4822fd5ff18383fbd5944f511 (diff) | |
[lldb][DWARFASTParser] Don't pass CompilerType by non-const reference in the DWARFASTParserClang APIs (#103245)
The `CompilerType` is just a wrapper around two pointers, and there is
no usage of the `CompilerType` where those are expected to change
underneath the caller.
To make the interface more straightforward to reason about, this patch
changes all instances of `CompilerType&` to `const CompilerType&` around
the `DWARFASTParserClang` APIs.
We could probably pass these by-value, but all other APIs don't, and
this patch just makes the parameter passing convention consistent with
the rest of the file.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface')
0 files changed, 0 insertions, 0 deletions
