[all-commits] [llvm/llvm-project] b3392c: [clang] Reject incomplete type arguments for __bui...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Mon Dec 4 17:59:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3392c447ad7b18a652d2ed63e8ebb7741077a98
https://github.com/llvm/llvm-project/commit/b3392c447ad7b18a652d2ed63e8ebb7741077a98
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/builtin-dump-struct.cpp
Log Message:
-----------
[clang] Reject incomplete type arguments for __builtin_dump_struct (#72749)
We used to assume that the CXXRecordDecl passed to the 1st argument
always had a definition. This is not true since a pointer to an
incomplete type was not excluded.
Fixes https://github.com/llvm/llvm-project/issues/63506
More information about the All-commits
mailing list