SuccessChanges

Summary

  1. [analyzer] Add support for ObjCIndirectCopyRestoreExpr. (details)
  2. [analyzer] ObjCAutoreleaseWriteChecker: Support explicit autoreleasepools. (details)
  3. [libc++] Support move construction and assignment in <thread> in C++03 (details)
  4. [MLIR] Shape to standard dialect lowering (details)
  5. [lldb/Test] Don't print 'command invoked' (details)
  6. [doc] Fix typo. (details)
Commit e94192198f8a949c7880620b06e9ef85d87ad4b3 by Artem Dergachev
[analyzer] Add support for ObjCIndirectCopyRestoreExpr.

Idiomatic objc using ARC will generate this expression regularly due to
NSError out-param passing.  Providing an implementation for this
expression allows the analyzer to explore many more codepaths in ARC
projects.

The current implementation is not perfect but the differences are hopefully
subtle enough to not cause much problems.

rdar://63918914

Differential Revision: https://reviews.llvm.org/D81071
The file was addedclang/test/Analysis/objc-indirect-copy-restore.m
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp (diff)
Commit 7113271528a4c6efc8b57f25ead28f65b5e48757 by Artem Dergachev
[analyzer] ObjCAutoreleaseWriteChecker: Support explicit autoreleasepools.

The checker currently supports only a whitelist of block-enumeration
methods which are known to internally clear an autorelease pool.
Extend this checker to detect writes within the scope of explicit
@autoreleasepool statements.

rdar://25301111

Differential Revision: https://reviews.llvm.org/D81072
The file was modifiedclang/test/Analysis/autoreleasewritechecker_test.m (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp (diff)
Commit 62cfa3a0b5d20e6d0d5abe95412ab271d934083c by Louis Dionne
[libc++] Support move construction and assignment in <thread> in C++03

Libc++ provides support for <thread> in C++03 as an extension. Furthermore,
it does not support any compiler that doesn't have rvalue references. It
is hence possible to provide the move constructor and move assignment
operator in C++03.
The file was modifiedlibcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp (diff)
The file was modifiedlibcxx/include/thread (diff)
The file was modifiedlibcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp (diff)
The file was modifiedlibcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move2.pass.cpp (diff)
Commit 3713314bfae3dc9a793c152e8a698a2ca1444f6c by frgossen
[MLIR] Shape to standard dialect lowering

Add a new pass to lower operations from the `shape` to the `std` dialect.
The conversion applies only to the `size_to_index` and `index_to_size`
operations and affected types.
Other patterns will be added as needed.

Differential Revision: https://reviews.llvm.org/D81091
The file was modifiedmlir/include/mlir/Conversion/Passes.td (diff)
The file was addedmlir/include/mlir/Conversion/ShapeToStandard/ShapeToStandard.h
The file was addedmlir/lib/Conversion/ShapeToStandard/CMakeLists.txt
The file was addedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
The file was modifiedmlir/include/mlir/InitAllPasses.h (diff)
The file was modifiedmlir/lib/Conversion/CMakeLists.txt (diff)
The file was addedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
Commit 96e7d19a1f22f5d2018377b70b4c98e0f59ea412 by Jonas Devlieghere
[lldb/Test] Don't print 'command invoked'

The different tools constructing dotest invocations (lit and
lldb-dotest) already print the command invocation so there's no need to
print it again in the dotest output.

My motivation for removing it is that it doesn't include the Python
interpreter and every time I accidentally copy it, the command fails
with an `ImportError`.

Differential revision: https://reviews.llvm.org/D81032
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py (diff)
Commit bee2c2708f3e38261825439bc8b0fbe8b795854d by noreply
[doc] Fix typo.

The absence of a space here caused this codeblock to be missing from the rendered output.
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)