[Chapel Merge] Fix bug in code that fetches C type alignment, exposed with --verify

Branch: refs/heads/main
Revision: 6516d2c949bef7706045fc4b013ce951cfc6d777
Author: dlongnecke-cray
Link: Fix bug in code that fetches C type alignment, exposed with --verify by dlongnecke-cray · Pull Request #28661 · chapel-lang/chapel · GitHub
Log Message:
Fix bug in code that fetches C type alignment, exposed with --verify (#28661)

While working on other code, I discovered a bug with a new pragma I
added in #28649 that only appears when --verify is thrown. Add new
code to a function that fetches alignment for Clang types, adjusting it
to handle types with the new pragma.

Reviewed by @jabraham17. Thanks!

Compare: Comparing d73dddd8695580f09bc21c7a36635469a5e6af6e...be852ede23301dea03f217b8bed30d53532dc9ed · chapel-lang/chapel · GitHub

Diff:
M compiler/llvm/clangUtil.cpp
A test/interop/C/errorMessage/OpaqueCTypeAliasVerify.chpl
A test/interop/C/errorMessage/OpaqueCTypeAliasVerify.cleanfiles
A test/interop/C/errorMessage/OpaqueCTypeAliasVerify.compopts
A test/interop/C/errorMessage/OpaqueCTypeAliasVerify.good
A test/interop/C/errorMessage/OpaqueCTypeAliasVerify.noexec
https://github.com/chapel-lang/chapel/pull/28661.diff