]> granicus.if.org Git - clang/commit
Model converted constant expressions as full-expressions.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 19 Sep 2019 22:00:16 +0000 (22:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 19 Sep 2019 22:00:16 +0000 (22:00 +0000)
commit9e4451359e49b07daff391ed20fbf47b63df9bf2
tree5b60f39a5ede7a831e4e40a9167c13b8242f703c
parent095b0e84abfea76c8c5d58468e2b0de5c7835f0b
Model converted constant expressions as full-expressions.

This is groundwork for C++20's P0784R7, where non-trivial destructors
can be constexpr, so we need ExprWithCleanups markers in constant
expressions.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaTemplate.cpp