diff options
| author | Timothy Choi <101849050+tinnamchoi@users.noreply.github.com> | 2025-08-23 17:14:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-23 09:14:16 +0000 |
| commit | 8b5503d9b1fca2eb9ceb7439100235ff0e53394b (patch) | |
| tree | 87b7402f29991d311fb8d73c90e6242b8986c522 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
| parent | 5b5a8cd63a9c7ea769b8651ceec05de0835dacfb (diff) | |
| download | llvm-8b5503d9b1fca2eb9ceb7439100235ff0e53394b.zip llvm-8b5503d9b1fca2eb9ceb7439100235ff0e53394b.tar.gz llvm-8b5503d9b1fca2eb9ceb7439100235ff0e53394b.tar.bz2 | |
[Clang] Add diagnostic when scoped enumeration requires an explicit conversion for binary operations (#152698)
```diff
main.cpp:4:8: error: invalid operands to binary expression ('E' and 'int')
4 | E::e + 0;
| ~~~~ ^ ~
+main.cpp:4:3: note: no implicit conversion for scoped enum; consider casting to underlying type
+ 4 | E::e + 0;
+ | ^
+ | static_cast<int>( )
```
Resolves #24265
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions
