This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-mainline-allmodconfig in repository toolchain/ci/llvm-monorepo.
from fa4fa7a6710 Removing an include that was not necessary; NFC. adds 0dbe60e574b [OPENMP][DOCS]Release notes/OpenMP support updates, NFC. adds 03f615c5214 [OpenMP] Add flag for preventing the extension to 64 bits f [...] adds fc97b040d42 [OpenMP] Avoid remainder operations for loop index values o [...] adds 4ef375c2a4b [clang-tidy] Adding a new modernize use nodiscard checker adds d29212aece0 [clang-tidy] fix-up failing tests adds e26760b4ffc [AArch64] Add test for constant shrinking with multiple use [...] adds c7715e8cb20 [clang-tidy] tryfix documentation build adds fe2685161f8 Change lldb-test to use ParseAllDebugSymbols. adds 27277f08fc1 [clang-tidy] another take at fixing doc adds f6fbd435304 [libfuzzer][MSVC] Make calls to builtin functions work with MSVC adds e574d21647f Fix formatting. NFC. adds 76b640b8ca8 [ObjC] Allow the use of implemented unavailable methods fro [...] adds d9c6c2b57b1 [Python] Update PyString_FromString() to work for python 2 and 3. adds 4f3f02e7e3a [NFC] Normalize some test 'main' signatures adds ac70c021c1d [WebAssembly] Print a debug message at the start of each pass adds fc2b52a93ee [NFC] Always lock free test: add indirection adds a2f6137b016 Write PDB/variables.test to be more robust. adds 7f5e7a6621a Don't require a null terminator when loading objects adds 961c3237e9a [SimplifyLibCalls] Fix memchr expansion for constant strings. adds f7f57d807a6 [Sema] Mark target of __attribute__((alias("target"))) used for C adds 79be3cc201e [llvm-mca] Display masks in hex adds 3f964fce181 [WebAssembly] Add unimplemented-simd128 subtarget feature adds 06dd145f6fc In nothrow new-expressions, null-check the result if we're [...] adds c8cee251826 [X86] After turning VSELECT into SHRUNKBLEND, make we push [...] adds 73e60532432 [MemorySSA] Remove optimized value when reseting optimized. adds 1a44a03bd41 [lldb-server] Add unnamed pipe support to PipeWindows adds 960c4577bfd [X86] Really make the pointer arguments to avx512 gather/sc [...] adds 18148d76cc1 A little cleanup / commenting on locating kernel binaries w [...] adds f412d10a37c Revert "[Sparc] Add Sparc V8 support" adds 5cd41e8ef08 [Python] Update checkDsymForUUIDIsOn to be compatible with [...] adds 8ac04ba36c0 Revert "[WebAssembly] Add unimplemented-simd128 subtarget feature" adds 3f79e0025e1 Revert "Fix go bindings for r350647: missed a function rename" adds 2ae5bbcf606 [WebAssembly] Add simd128-unimplemented subtarget feature adds c220d196872 Refactor declarations of ASTContext allocate functions into [...] adds 5f33e7c9bf0 [AMDGPU] Separate feature dot-insts adds a91070b7f2f [AMDGPU] Separate feature dot-insts adds c4b6b9cae22 Revert "[WebAssembly] Add simd128-unimplemented subtarget feature" adds c5327cfeed6 i[Sanitizer] Enable pututxline interception adds e9e011c5fe4 Remove unnecessary include. adds 3e597ce65ce [AArch64] Emit the correct MCExpr relocations specifiers li [...] adds 3b1569b534a Recommit "[PowerPC] Fix assert from machine verify pass tha [...] adds 67afc97f56d [X86] Disable DomainReassignment pass when AVX512BW is disa [...] adds ff5bb358640 [ARM] Size reduce teq to eors adds e464c496c17 Add a verbose mode to "image dump line-table" and use it to [...] adds 9e0697f245e [clangd] Don't store completion info if the symbol is not u [...] adds d194e2eb244 Implement ObjectFileELF::GetBaseAddress adds 2735a262074 [libclang] Fix clang_Cursor_isAnonymous adds 0d197476758 [asan] Mark tests as UNSUPPORTED on arm adds 196a04f5569 Fix RUN line in test/Transforms/LoopDeletion/crashbc.ll adds f02b24c273a [LoopUnroll] add parsing for unroll parameters in -passes pipeline
No new revisions were added by this update.
Summary of changes: clang-tools-extra/clang-query/QuerySession.h | 1 - .../clang-tidy/modernize/CMakeLists.txt | 1 + .../clang-tidy/modernize/ModernizeTidyModule.cpp | 3 + .../clang-tidy/modernize/UseNodiscardCheck.cpp | 145 +++++++++ .../clang-tidy/modernize/UseNodiscardCheck.h | 50 +++ clang-tools-extra/clangd/index/Index.h | 7 + clang-tools-extra/clangd/index/SymbolCollector.cpp | 32 +- clang-tools-extra/docs/ReleaseNotes.rst | 6 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../clang-tidy/checks/modernize-use-nodiscard.rst | 82 +++++ .../modernize-use-nodiscard-clang-unused.cpp | 25 ++ .../clang-tidy/modernize-use-nodiscard-cxx11.cpp | 24 ++ .../modernize-use-nodiscard-gcc-unused.cpp | 25 ++ ...ernize-use-nodiscard-no-macro-inscope-cxx11.cpp | 13 + .../modernize-use-nodiscard-no-macro.cpp | 22 ++ .../test/clang-tidy/modernize-use-nodiscard.cpp | 262 ++++++++++++++++ .../unittests/clangd/SymbolCollectorTests.cpp | 13 +- clang/docs/OpenMPSupport.rst | 15 +- clang/docs/ReleaseNotes.rst | 18 ++ clang/include/clang/AST/ASTContext.h | 9 +- clang/include/clang/AST/ASTContextAllocate.h | 38 +++ clang/include/clang/AST/ASTVector.h | 1 + clang/include/clang/AST/Attr.h | 1 + clang/include/clang/AST/AttrIterator.h | 19 -- clang/include/clang/AST/Decl.h | 1 + clang/include/clang/Basic/BuiltinsAMDGPU.def | 14 +- clang/include/clang/Basic/BuiltinsX86.def | 114 +++---- clang/include/clang/Basic/LangOptions.def | 1 + clang/include/clang/Driver/Options.td | 4 + clang/lib/Basic/Targets/AMDGPU.cpp | 1 + clang/lib/CodeGen/CGExprCXX.cpp | 5 +- clang/lib/Driver/ToolChains/Clang.cpp | 4 + clang/lib/Frontend/CompilerInvocation.cpp | 5 + clang/lib/Sema/SemaDeclAttr.cpp | 39 ++- clang/lib/Sema/SemaOpenMP.cpp | 99 +++--- clang/test/CodeGenCXX/catch-undef-behavior.cpp | 43 +++ clang/test/CodeGenOpenCL/amdgpu-features.cl | 2 +- .../CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl | 28 +- clang/test/Index/print-type.cpp | 16 + clang/test/OpenMP/for_codegen.cpp | 1 - clang/test/OpenMP/for_simd_codegen.cpp | 73 ++++- ...arget_teams_distribute_parallel_for_codegen.cpp | 25 +- clang/test/OpenMP/parallel_for_simd_codegen.cpp | 73 ++++- clang/test/OpenMP/simd_codegen.cpp | 77 ++++- clang/test/Sema/alias-unused.c | 7 + .../test/SemaObjC/call-unavailable-init-in-self.m | 68 ++++ clang/tools/c-index-test/c-index-test.c | 15 +- clang/tools/libclang/CXType.cpp | 10 +- compiler-rt/lib/fuzzer/CMakeLists.txt | 2 + compiler-rt/lib/fuzzer/FuzzerBuiltins.h | 36 +++ compiler-rt/lib/fuzzer/FuzzerBuiltinsMsvc.h | 59 ++++ compiler-rt/lib/fuzzer/FuzzerDefs.h | 12 +- compiler-rt/lib/fuzzer/FuzzerTracePC.cpp | 37 +-- compiler-rt/lib/fuzzer/FuzzerUtil.h | 6 +- .../sanitizer_common_interceptors.inc | 14 +- .../asan/TestCases/Linux/quarantine_size_mb.cc | 2 +- .../TestCases/hard_rss_limit_mb_test.cc | 2 +- .../atomics.lockfree/isalwayslockfree.pass.cpp | 4 +- .../containers/unord/unord.map/compare.pass.cpp | 3 +- .../minmax_showbase.pass.cpp | 2 +- .../facet.num.get.members/test_min_max.pass.cpp | 2 +- .../facet.num.get.members/test_neg_one.pass.cpp | 2 +- .../re.alg.match/parse_curly_brackets.pass.cpp | 3 +- .../charconv/charconv.from.chars/integral.pass.cpp | 3 +- .../charconv/charconv.to.chars/integral.pass.cpp | 3 +- .../bind/func.bind/func.bind.bind/nested.pass.cpp | 3 +- .../tuple/tuple.tuple/TupleFunction.pass.cpp | 3 +- libunwind/include/__libunwind_config.h | 7 - libunwind/include/libunwind.h | 36 --- libunwind/src/DwarfInstructions.hpp | 8 - libunwind/src/DwarfParser.hpp | 16 - libunwind/src/Registers.hpp | 188 ----------- libunwind/src/UnwindCursor.hpp | 14 - libunwind/src/UnwindRegistersRestore.S | 22 -- libunwind/src/UnwindRegistersSave.S | 32 +- libunwind/src/assembly.h | 2 - libunwind/src/libunwind.cpp | 2 - lld/ELF/MarkLive.cpp | 5 +- lldb/include/lldb/Host/PipeBase.h | 3 + lldb/include/lldb/Host/posix/PipePosix.h | 9 +- lldb/include/lldb/Host/windows/PipeWindows.h | 11 + lldb/include/lldb/lldb-types.h | 9 +- lldb/lit/Modules/ELF/basic-info.yaml | 27 ++ lldb/lit/Modules/ELF/compressed-sections.yaml | 6 +- lldb/lit/SymbolFile/DWARF/debug-line-basic.s | 75 +++++ lldb/lit/SymbolFile/PDB/enums-layout.test | 67 ++-- lldb/lit/SymbolFile/PDB/type-quals.test | 48 +-- lldb/lit/SymbolFile/PDB/variables.test | 108 ++++--- lldb/packages/Python/lldbsuite/test/dotest.py | 9 +- lldb/scripts/Python/python-swigsafecast.swig | 9 - lldb/scripts/Python/python-wrapper.swig | 4 +- lldb/source/Commands/CommandObjectTarget.cpp | 48 ++- lldb/source/Host/posix/PipePosix.cpp | 5 +- lldb/source/Host/windows/PipeWindows.cpp | 79 ++++- .../Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 22 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 25 +- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 2 + .../Process/gdb-remote/GDBRemoteCommunication.cpp | 4 +- .../GDBRemoteCommunicationServerPlatform.cpp | 6 +- .../Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 23 ++ lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h | 4 + lldb/tools/lldb-server/lldb-gdbserver.cpp | 23 +- lldb/tools/lldb-test/lldb-test.cpp | 6 +- llvm/bindings/go/llvm/InstrumentationBindings.cpp | 3 +- llvm/include/llvm/Analysis/MemorySSA.h | 1 + llvm/lib/MCA/HardwareUnits/ResourceManager.cpp | 6 +- llvm/lib/MCA/InstrBuilder.cpp | 5 +- llvm/lib/Object/Binary.cpp | 3 +- llvm/lib/Passes/PassBuilder.cpp | 96 ++++++ llvm/lib/Passes/PassRegistry.def | 10 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 3 +- llvm/lib/Target/AArch64/AArch64MCInstLower.cpp | 37 ++- llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h | 4 + llvm/lib/Target/AMDGPU/AMDGPU.td | 12 +- llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp | 1 + llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | 5 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 2 +- llvm/lib/Target/AMDGPU/VOP3PInstructions.td | 8 +- llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 32 +- llvm/lib/Target/PowerPC/PPCFastISel.cpp | 37 ++- .../WebAssemblyAddMissingPrototypes.cpp | 2 +- .../WebAssembly/WebAssemblyCallIndirectFixup.cpp | 2 +- .../WebAssemblyEHRestoreStackPointer.cpp | 4 + .../WebAssembly/WebAssemblyExceptionInfo.cpp | 5 +- .../WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | 2 + .../Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp | 4 + .../WebAssembly/WebAssemblyLateEHPrepare.cpp | 4 + .../WebAssemblyLowerEmscriptenEHSjLj.cpp | 2 + .../WebAssembly/WebAssemblyLowerGlobalDtors.cpp | 2 + .../WebAssembly/WebAssemblyOptimizeReturned.cpp | 4 + llvm/lib/Target/X86/X86DomainReassignment.cpp | 5 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 1 + llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 5 +- llvm/test/CodeGen/AArch64/reloc-specifiers.mir | 21 ++ .../AArch64/shrink-constant-multiple-users.ll | 18 ++ llvm/test/CodeGen/PowerPC/fast-isel-fcmp-nan.ll | 14 +- llvm/test/CodeGen/PowerPC/vsx-self-copy.ll | 4 +- llvm/test/CodeGen/Thumb2/t2-teq-reduce.mir | 267 ++++++++++++++++ llvm/test/CodeGen/Thumb2/thumb2-teq2.ll | 4 +- .../CodeGen/X86/avx512-intrinsics-fast-isel.ll | 344 ++++++++++++++------- llvm/test/CodeGen/X86/avx512-mask-op.ll | 52 ++-- llvm/test/CodeGen/X86/avx512vl-intrinsics.ll | 36 ++- llvm/test/CodeGen/X86/vec_floor.ll | 48 ++- llvm/test/Transforms/InstCombine/memchr.ll | 35 ++- llvm/test/Transforms/InstCombine/strchr-1.ll | 5 +- llvm/test/Transforms/LoopDeletion/crashbc.ll | 2 +- 146 files changed, 2834 insertions(+), 1023 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/modernize-use-nodiscard.rst create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard-clang [...] create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard-cxx11.cpp create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard-gcc-u [...] create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard-no-ma [...] create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard-no-macro.cpp create mode 100644 clang-tools-extra/test/clang-tidy/modernize-use-nodiscard.cpp create mode 100644 clang/include/clang/AST/ASTContextAllocate.h create mode 100644 clang/test/Sema/alias-unused.c create mode 100644 clang/test/SemaObjC/call-unavailable-init-in-self.m create mode 100644 compiler-rt/lib/fuzzer/FuzzerBuiltins.h create mode 100644 compiler-rt/lib/fuzzer/FuzzerBuiltinsMsvc.h create mode 100644 lldb/lit/Modules/ELF/basic-info.yaml create mode 100644 lldb/lit/SymbolFile/DWARF/debug-line-basic.s create mode 100644 llvm/test/CodeGen/AArch64/reloc-specifiers.mir create mode 100644 llvm/test/CodeGen/AArch64/shrink-constant-multiple-users.ll create mode 100644 llvm/test/CodeGen/Thumb2/t2-teq-reduce.mir