aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-06-14 10:04:59 -0700
committerAlexey Bataev <a.bataev@outlook.com>2021-06-14 10:36:27 -0700
commit44f197e94b83d389b59ce6a2a1977f972e6d34e3 (patch)
tree4397a4ada63aee5211fcba571e7179cffb3998ae /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent863184dd6920a65dd122603be7e595bc88d89e8b (diff)
downloadllvm-44f197e94b83d389b59ce6a2a1977f972e6d34e3.zip
llvm-44f197e94b83d389b59ce6a2a1977f972e6d34e3.tar.gz
llvm-44f197e94b83d389b59ce6a2a1977f972e6d34e3.tar.bz2
[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 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions