SuccessChanges

Summary

  1. Revert "Relands "[YAMLVFSWriter][Test][NFC] Add couple tests" vol. 2" (details)
  2. [Analyzer][StreamChecker] Updated initialization of BugType's. (details)
  3. Rename arrow -> arrowToken for unified naming (details)
  4. [libc++] Move away from the standalone build for Apple libc++ and libc++abi (details)
  5. [clang-format] Update GoogleStyle for C# code to match Google's internal C# style guide (details)
  6. DAG: Change computeKnownBitsForFrameIndex to be usable by GISel (details)
  7. [libc++] Merge the Apple install-libcxx and libcxxabi scripts (details)
  8. Use libClangTesting in the unittest for AST matchers (details)
  9. [llvm-dwarfdump] Add a table header for -debug-line -verbose output (details)
  10. [libc++] Disable LLVM benchmarks in the Apple build (details)
  11. [gn build] Port b5fc1deb5ba1f3cd432ecb8b86c2536470463163 (details)
  12. [OPENMP]Fix PR46146: Do not consider globalized variables as NRVO candidates. (details)
  13. [Doc] update ReleaseNotes with new warning note. (details)
  14. [clang-tidy][modernize-loop-convert] Make loop var type human readable (details)
  15. [clang-tidy] ignore builtin varargs from pro-type-vararg-check (details)
Commit 3dad3907198b920f5531cedec154e79a72beeec4 by russell.gallop
Revert "Relands "[YAMLVFSWriter][Test][NFC] Add couple tests" vol. 2"

This reverts commit 30949926f98576fbff8d5ad0390be5124ffacd7e.

This was failing on bot here:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/32749
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 0bfd70bdad7e4ac22d96503fa78a5dd55d4b430e by 1.int32
[Analyzer][StreamChecker] Updated initialization of BugType's.

Summary:
BugType objects are initialized in-class instead of by lazy initialization.
FuchsiaHandleChecker does this already.

Reviewers: Szelethus, baloghadamsoftware, martong

Reviewed By: Szelethus

Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80725
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Commit 62305f6db4ed642c6b2b005dcb7951eb38342dca by gribozavr
Rename arrow -> arrowToken for unified naming

Reviewers: gribozavr2

Reviewed By: gribozavr2

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81155
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h
The file was modifiedclang/lib/Tooling/Syntax/Nodes.cpp
Commit 39a116ee07693a0f569ddba77dff540ce542f69e by Louis Dionne
[libc++] Move away from the standalone build for Apple libc++ and libc++abi
The file was modifiedlibcxx/utils/ci/apple-install-libcxxabi.sh
The file was modifiedlibcxx/utils/ci/apple-install-libcxx.sh
Commit 9520bf146dd3baae8608755d7de0855db4664c77 by jbcoe
[clang-format] Update GoogleStyle for C# code to match Google's internal C# style guide

Summary: Google's C# style guide is at https://google.github.io/styleguide/csharp-style.html

Reviewers: krasimir, MyDeveloperDay, sammccall

Reviewed By: MyDeveloperDay

Subscribers: cfe-commits, klimek

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D79715
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
The file was modifiedclang/lib/Format/Format.cpp
Commit af867b7850a2078d73eab1c983db21e7fef0665a by Matthew.Arsenault
DAG: Change computeKnownBitsForFrameIndex to be usable by GISel

This wasn't getting much value from the DAG or depth arguments, since
it's only called on the frame index root nodes. FrameIndexes can also
only return a scalar value, so it also didn't need DemandedElts.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit b68bf11efc46b0a81b22089d6bd78ee9d30a1d22 by Louis Dionne
[libc++] Merge the Apple install-libcxx and libcxxabi scripts

Also, refactor the now-merged script to remove code duplication in the
creation of universal dylibs.
The file was modifiedlibcxx/utils/ci/apple-install-libcxx.sh
The file was removedlibcxx/utils/ci/apple-install-libcxxabi.sh
The file was modifiedlibcxx/utils/ci/macos-trunk.sh
Commit b5fc1deb5ba1f3cd432ecb8b86c2536470463163 by gribozavr
Use libClangTesting in the unittest for AST matchers

Summary:
The unittest for AST matchers has its own way to specify language
standards. I unified it with the shared infrastructure from
libClangTesting.

Reviewers: jdoerfert, hlopko

Reviewed By: hlopko

Subscribers: mgorny, sstefan1, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81150
The file was modifiedclang/unittests/Sema/CMakeLists.txt
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
The file was modifiedclang/unittests/ASTMatchers/Dynamic/CMakeLists.txt
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTest.h
The file was modifiedclang/lib/Testing/CommandLineArgs.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
The file was modifiedclang/include/clang/Testing/CommandLineArgs.h
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/unittests/ASTMatchers/CMakeLists.txt
Commit 9be3567df20a9f2819d29d8e32f4eee73a4408fd by maskray
[llvm-dwarfdump] Add a table header for -debug-line -verbose output

Like non-verbose output, so that it is easy to recognize the `Line,Column,File,ISA,Discriminator` column values.

Reviewed By: JDevlieghere, jhenderson

Differential Revision: https://reviews.llvm.org/D80874
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verbose.test
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
Commit 68e4e8a8d0db031840ff0495cdde1b6db63f49ef by Louis Dionne
[libc++] Disable LLVM benchmarks in the Apple build
The file was modifiedlibcxx/utils/ci/apple-install-libcxx.sh
Commit 68dd32dd43a21ecc898a0cad511fb0f18383e25d by maskray
[gn build] Port b5fc1deb5ba1f3cd432ecb8b86c2536470463163
The file was modifiedllvm/utils/gn/secondary/clang/unittests/ASTMatchers/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Sema/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/ASTMatchers/Dynamic/BUILD.gn
Commit 9ca5a6d3b523688be8b4c2315482297fa943c777 by a.bataev
[OPENMP]Fix PR46146: Do not consider globalized variables as NRVO candidates.

Summary:
If the variables must be globalized in OpenMP mode (local automatic
variable, GPU compilation mode, the variable may escape its declaration
context by the reference or by the pointer), it should not be considered
as the NRVO candidate. Otherwise, incorrect the return value of the
function might not be updated.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80936
The file was addedclang/test/OpenMP/nvptx_NRVO_variable.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
Commit e82e388a493345d8287175f884b34c3f38f71057 by noreply
[Doc] update ReleaseNotes with new warning note.
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 6271b96bef479882cf43397941a4c95aa9f47403 by Zinovy Nis
[clang-tidy][modernize-loop-convert] Make loop var type human readable

Differential Revision: https://reviews.llvm.org/D80536
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/structures.h
Commit e21c3f223a3537df0d9d02fce5038b3d7b98ab52 by n.james93
[clang-tidy] ignore builtin varargs from pro-type-vararg-check

Disables the check from warning on some built in vararg functions, Address [[ https://bugs.llvm.org/show_bug.cgi?id=45860 | Clang-tidy should not consider __builtin_constant_p a variadic function. ]]

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D80887
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg.cpp