[all-commits] [llvm/llvm-project] 09d6ee: [Clang] Directly create opaque pointers
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jun 15 00:09:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09d6ee765780837d5156ac81f968465bdcec73ba
https://github.com/llvm/llvm-project/commit/09d6ee765780837d5156ac81f968465bdcec73ba
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/test/CodeGenCXX/matrix-type-builtins.cpp
M clang/test/CodeGenCXX/warn-all-padded-packed-packed-non-pod.cpp
M clang/test/Modules/compare-record.c
M clang/test/PCH/headersearch.cpp
M clang/test/Sema/ms_class_layout.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list