[all-commits] [llvm/llvm-project] 9dbb08: Perform lvalue conversions on the left of a pseudo...
Richard Smith via All-commits
all-commits at lists.llvm.org
Wed Oct 14 22:09:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9dbb0886ea799061baf79d4dce3203524a8468cc
https://github.com/llvm/llvm-project/commit/9dbb0886ea799061baf79d4dce3203524a8468cc
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/constant-expression-cxx2a.cpp
M clang/test/SemaCXX/pseudo-destructors.cpp
Log Message:
-----------
Perform lvalue conversions on the left of a pseudo-destructor call 'p->~T()'.
Previously we failed to convert 'p' from array/function to pointer type,
and to represent the load of 'p' in the AST. The latter causes problems
for constant evaluation.
More information about the All-commits
mailing list