diff options
author | Nikita Popov <npopov@redhat.com> | 2023-06-09 09:57:21 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-06-15 09:09:33 +0200 |
commit | 09d6ee765780837d5156ac81f968465bdcec73ba (patch) | |
tree | a509b254517e4e5c300106f2fa6875d7124f409f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 742040a7f476302f2b582e44945d08f875fb3254 (diff) | |
download | llvm-09d6ee765780837d5156ac81f968465bdcec73ba.zip llvm-09d6ee765780837d5156ac81f968465bdcec73ba.tar.gz llvm-09d6ee765780837d5156ac81f968465bdcec73ba.tar.bz2 |
[Clang] Directly create opaque pointers
In CGTypes, directly create opaque pointers, without computing the
LLVM element type. This is not as straightforward as I though it
would be, because apparently computing the LLVM type also causes a
number of side effects.
In particular, we no longer produce diagnostics like -Wpacked for
typed (only) behind pointers, because we no longer depend on their
layout.
Differential Revision: https://reviews.llvm.org/D152505
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions