[all-commits] [llvm/llvm-project] 21e8bb: PR48606: The lifetime of a constexpr heap allocati...
Richard Smith via All-commits
all-commits at lists.llvm.org
Mon Feb 8 18:03:06 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21e8bb83253e1a2f4b6fad9b53cafe8c530a38e2
https://github.com/llvm/llvm-project/commit/21e8bb83253e1a2f4b6fad9b53cafe8c530a38e2
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
Log Message:
-----------
PR48606: The lifetime of a constexpr heap allocation always started
during the same evaluation.
It looks like the only case for which this matters is determining
whether mutable subobjects of a heap allocation can be modified during
constant evaluation.
More information about the All-commits
mailing list