diff options
| author | Alexey Bataev <a.bataev@outlook.com> | 2021-06-14 10:04:59 -0700 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@outlook.com> | 2021-06-14 10:36:27 -0700 |
| commit | 44f197e94b83d389b59ce6a2a1977f972e6d34e3 (patch) | |
| tree | 4397a4ada63aee5211fcba571e7179cffb3998ae /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 863184dd6920a65dd122603be7e595bc88d89e8b (diff) | |
[OpenMP] Fix C-only clang assert on parsing use_allocator clause of target directive
The parser code assumes building with C++ compiler and asserts when using clang (not clang++) on C file. I made the code dependent on input language. This shows up for amdgpu target.
Reviewed By: ABataev
Differential Revision: https://reviews.llvm.org/D103899
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
