Skip to content

Commit

Permalink
Adapt llvmorg-19-init-9465-g39adc8f42329: BuiltinType::ArraySection
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed May 6, 2024
1 parent 559b416 commit e5e1012
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/clang_tu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,12 @@ const char *clangBuiltinTypeName(int kind) {
return "queue_t";
case BuiltinType::OCLReserveID:
return "reserve_id_t";
#if LLVM_VERSION_MAJOR >= 19 // llvmorg-19-init-9465-g39adc8f42329
case BuiltinType::ArraySection:
#else
case BuiltinType::OMPArraySection:
return "<OpenMP array section type>";
#endif
return "<array section type>";
default:
return "";
}
Expand Down

0 comments on commit e5e1012

Please sign in to comment.