[PATCH] D154758: [clang][Interp] Emit correct diagnostic for uninitialized reads
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 7 21:30:55 PDT 2023
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, shafik, cor3ntin.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This fixes a long standing diagnostic difference between the two interpreters.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154758
Files:
clang/lib/AST/Interp/Interp.cpp
clang/test/AST/Interp/constexpr-nqueens.cpp
clang/test/AST/Interp/cxx20.cpp
clang/test/AST/Interp/literals.cpp
clang/test/AST/Interp/records.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154758.538317.patch
Type: text/x-patch
Size: 6533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230708/0e64f215/attachment-0001.bin>
More information about the cfe-commits
mailing list