diff options
| author | yronglin <yronglin777@gmail.com> | 2024-07-23 09:39:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 09:39:30 +0800 |
| commit | 4572efea90f2ddf51c618790a119ad9b6fc2c7ed (patch) | |
| tree | 76978cdf1d64ff2a096dee020f25a27b1d52065f /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | d251a328b809ec66ca25cf72f71e127204eabfeb (diff) | |
[Clang][Interp] `__builtin_os_log_format_buffer_size` should be an unevaluated builtin (#99895)
Follow the current behavior of constant evaluator,
`__builtin_os_log_format_buffer_size` should be an unevaluated builtin.
The following code is well-formed:
```
void test_builtin_os_log(void *buf, int i, const char *data) {
constexpr int len = __builtin_os_log_format_buffer_size("%d %{public}s %{private}.16P", i, data, data);
}
```
Signed-off-by: yronglin <yronglin777@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
