diff options
| author | Andrew Savonichev <andrew.savonichev@gmail.com> | 2021-03-10 20:23:41 +0300 |
|---|---|---|
| committer | Andrew Savonichev <andrew.savonichev@gmail.com> | 2021-10-15 13:55:36 +0300 |
| commit | 3dbcea8b957a5f0094f1d5a73b7a8ebebeedebb6 (patch) | |
| tree | 1b2a570d8d95b24c2663b1679fdad4430a57def3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2712d1814860600136546945f7a003dfe56f307a (diff) | |
Reland [clang] Check unsupported types in expressions
This was committed as ec6c847179fd, but then reverted after a failure
in: https://lab.llvm.org/buildbot/#/builders/84/builds/13983
I was not able to reproduce the problem, but I added an extra check
for a NULL QualType just in case.
Original comit message:
The patch adds missing diagnostics for cases like:
float F3 = ((__float128)F1 * (__float128)F2) / 2.0f;
Sema::checkDeviceDecl (renamed to checkTypeSupport) is changed to work
with a type without the corresponding ValueDecl. It is also refactored
so that host diagnostics for unsupported types can be added here as
well.
Differential Revision: https://reviews.llvm.org/D109315
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
