[all-commits] [llvm/llvm-project] b0e61d: Model list initialization more directly; fixes an ...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Apr 14 04:19:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0e61de7075942ef5ac8af9ca1ec918317f62152
https://github.com/llvm/llvm-project/commit/b0e61de7075942ef5ac8af9ca1ec918317f62152
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
A clang/test/Coverage/unresolved-ctor-expr.cpp
Log Message:
-----------
Model list initialization more directly; fixes an assert with coverage mapping
Instead of using the validity of a brace's source location as a flag
for list initialization, this now uses a PointerIntPair to model it so
we do not increase the size of the AST node to track this information.
This allows us to retain the valid source location information, which
fixes the coverage assertion.
Fixes https://github.com/llvm/llvm-project/issues/62105
Differential Revision: https://reviews.llvm.org/D148245
More information about the All-commits
mailing list