SuccessChanges

Summary

  1. [clang] Traverse init-captures while indexing (details)
  2. [CMake] Use find_dependency in LLVMConfig.cmake (details)
  3. [CMake] Use append for CMAKE_REQUIRED_* variables (details)
  4. [SyntaxTree][Nit] Take `ArrayRef` instead of `std::vector` as argument for `createTree` (details)
  5. [SyntaxTree] Test `findFirstLeaf` and `findLastLeaf` (details)
  6. [gn build] Port af582c9b0f3 (details)
Commit aa3c7638ba1648e020cf65a424389e093f2b3a1a by zeratul976
[clang] Traverse init-captures while indexing

Fixes https://github.com/clangd/clangd/issues/496

Differential Revision: https://reviews.llvm.org/D87257
The file was modifiedclang/test/Index/cxx14-lambdas.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp (diff)
The file was modifiedclang/lib/Index/IndexBody.cpp (diff)
Commit 247c4fc50720ed48db2464bbe59839eedbe16794 by phosek
[CMake] Use find_dependency in LLVMConfig.cmake

This prefered over find_package as find_dependency forwards the correct
parameters for QUIET and REQUIRED to find_package.

Differential Revision: https://reviews.llvm.org/D88069
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in (diff)
Commit bc3615f50e585232f34edcf6faf8cbd3e6dece1a by phosek
[CMake] Use append for CMAKE_REQUIRED_* variables

This ensures that required includes and libraries such as -lm that
were added earlier aren't overwritten.

Differential Revision: https://reviews.llvm.org/D88068
The file was modifiedllvm/cmake/config-ix.cmake (diff)
Commit 1dc7836aed134b4543bad6aa54f15cc0e51a627f by ecaldas
[SyntaxTree][Nit] Take `ArrayRef` instead of `std::vector` as argument for `createTree`

I also assured that there are no other functions unnecessarily using std::vector as argument.

Differential Revision: https://reviews.llvm.org/D88024
The file was modifiedclang/lib/Tooling/Syntax/Synthesis.cpp (diff)
The file was modifiedclang/include/clang/Tooling/Syntax/BuildTree.h (diff)
Commit af582c9b0f3a09b6a1b5101fd30dcbcef5c188b0 by ecaldas
[SyntaxTree] Test `findFirstLeaf` and `findLastLeaf`

* Introduce `TreeTest.cpp` to unit test `Tree.h`
* Add `generateAllTreesWithShape` to generating test cases
* Add tests for `findFirstLeaf` and `findLastLeaf`
* Fix implementations of `findFirstLeaf` and `findLastLeaf` that had
been broken when empty `Tree` were present.

Differential Revision: https://reviews.llvm.org/D87779
The file was modifiedclang/unittests/Tooling/Syntax/CMakeLists.txt (diff)
The file was addedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp (diff)
Commit 9114d6cbda6042000e12b9d799868c98e8fae385 by llvmgnsyncbot
[gn build] Port af582c9b0f3
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn (diff)

Summary

  1. Update recipe for flang-aarch64 slaves (details)
Commit 965bd9eb785ee6929a9dd71b741c6e81745357fb by caroline.concatto
Update recipe for flang-aarch64 slaves

- Update compiler location for flang-aarch64-ubuntu-{clang and gcc10}
- Add another email to the extra recipient for flang-aarch64
- Make flang-aarch64 slaves build new flang driver by default
- Add a missing coma to flang-aarch64-ubuntu-gcc10 recipe

Differential Revision: https://reviews.llvm.org/D87125
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)