clang API for maximum alignment of a deployment target

Hi,

Does clang provide API to access the maximum alignment for a deployment target?
Presumably the same information provided by std::max_align_t.

  • Fariborz

I believe what you are looking for is clang::TargetInfo::getSuitableAlign

I believe what you are looking for is clang::TargetInfo::getSuitableAlign

Thank you.

  • Fariborz