diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2022-08-09 11:35:37 -0400 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2022-08-09 11:36:48 -0400 |
| commit | 4c02ab8c9742f6c32b17f49a306b3b072486f5c5 (patch) | |
| tree | 1dd1174db9de9bb9df45ac90119bbc65c6103ab4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | d79e7dc939a3e9c422ecb4f7de17ca7a6d827ba7 (diff) | |
| download | llvm-4c02ab8c9742f6c32b17f49a306b3b072486f5c5.zip llvm-4c02ab8c9742f6c32b17f49a306b3b072486f5c5.tar.gz llvm-4c02ab8c9742f6c32b17f49a306b3b072486f5c5.tar.bz2 | |
Change prototype merging error into a warning for builtins
As was observed in https://reviews.llvm.org/D123627#3707635, it's
confusing that a user can write:
```
float rintf(void) {}
```
and get a warning, but writing:
```
float rintf() {}
```
gives an error. This patch changes the behavior so that both are
warnings, so that users who have functions which conflict with a
builtin identifier can still use that identifier as they wish.
Differential Revision: https://reviews.llvm.org/D131499
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
