SuccessChanges

Summary

  1. 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.
  2. [AArch64] Fix formatting (NFC)
  3. [CUDA][HIP] Re-apply part of r372318. - r372318 causes violation of `use-of-uninitialized-value` detected by MemorySanitizer. Once `Viable` field is set to false, `FailureKind` needs setting as well as it will be checked during destruction if `Viable` is not true. - Revert the part trying to skip `std::vector` erasing.
  4. Revert "[CUDA][HIP] Fix typo in `BestViableFunction`" Broke the msan buildbots (see comments on rL372318 for more details). This reverts commit eb231d15825ac345b546f4c99372d1cac8f14f02.
  5. [ObjC][ARC] Skip debug instructions when computing the insert point of objc_release calls This fixes a bug where the presence of debug instructions would cause ARC optimizer to change the order of retain and release calls. rdar://problem/55319419
Revision 372359 by rsmith:
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.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Parse/ParseDecl.cpp (diff)clang.src/lib/Parse/ParseDecl.cpp
The file was modified/cfe/trunk/lib/Sema/SemaOverload.cpp (diff)clang.src/lib/Sema/SemaOverload.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmt.cpp (diff)clang.src/lib/Sema/SemaStmt.cpp
The file was modified/cfe/trunk/lib/Sema/SemaTemplate.cpp (diff)clang.src/lib/Sema/SemaTemplate.cpp
Revision 372357 by evandro:
[AArch64] Fix formatting (NFC)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64.td (diff)llvm.src/lib/Target/AArch64/AArch64.td
Revision 372356 by hliao:
[CUDA][HIP] Re-apply part of r372318.

- r372318 causes violation of `use-of-uninitialized-value` detected by
  MemorySanitizer. Once `Viable` field is set to false, `FailureKind`
  needs setting as well as it will be checked during destruction if
  `Viable` is not true.
- Revert the part trying to skip `std::vector` erasing.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Sema/SemaOverload.cpp (diff)clang.src/lib/Sema/SemaOverload.cpp
The file was modified/cfe/trunk/test/SemaCUDA/function-overload.cu (diff)clang.src/test/SemaCUDA/function-overload.cu
The file was modified/cfe/trunk/test/SemaCUDA/implicit-member-target-collision-cxx11.cu (diff)clang.src/test/SemaCUDA/implicit-member-target-collision-cxx11.cu
Revision 372353 by hctim:
Revert "[CUDA][HIP] Fix typo in `BestViableFunction`"

Broke the msan buildbots (see comments on rL372318 for more details).

This reverts commit eb231d15825ac345b546f4c99372d1cac8f14f02.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Sema/SemaOverload.cpp (diff)clang.src/lib/Sema/SemaOverload.cpp
The file was modified/cfe/trunk/test/SemaCUDA/function-overload.cu (diff)clang.src/test/SemaCUDA/function-overload.cu
The file was modified/cfe/trunk/test/SemaCUDA/implicit-member-target-collision-cxx11.cu (diff)clang.src/test/SemaCUDA/implicit-member-target-collision-cxx11.cu
Revision 372352 by ahatanak:
[ObjC][ARC] Skip debug instructions when computing the insert point of
objc_release calls

This fixes a bug where the presence of debug instructions would cause
ARC optimizer to change the order of retain and release calls.

rdar://problem/55319419
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/ObjCARC/PtrState.cpp (diff)llvm.src/lib/Transforms/ObjCARC/PtrState.cpp
The file was added/llvm/trunk/test/Transforms/ObjCARC/code-motion.llllvm.src/test/Transforms/ObjCARC/code-motion.ll