diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-07-12 08:02:17 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-07-12 08:05:01 -0400 |
commit | b1d574867defe980312e63f6590cebbac953ca34 (patch) | |
tree | ae92099dc5971419bdcdeb621d5100bdc15f47db /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 13019955bfac1706bebe8211ace773e44410730f (diff) | |
download | llvm-b1d574867defe980312e63f6590cebbac953ca34.zip llvm-b1d574867defe980312e63f6590cebbac953ca34.tar.gz llvm-b1d574867defe980312e63f6590cebbac953ca34.tar.bz2 |
[Libomptarget] Allow static assert to work on 32-bit systems
Summary:
We use a static assert to make sure that someone doesn't change the size
of an argument struct without properly updating all the other logic.
This originally only checked the size on a 64-bit system with 8-byte
pointers, causing builds on 32-bit systems to fail. This patch allows
either pointer size to work.
Fixes #56486
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions