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-next-allnoconfig in repository toolchain/ci/llvm-monorepo.
from 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" new 3f79e0025e1 Revert "Fix go bindings for r350647: missed a function rename" new 2ae5bbcf606 [WebAssembly] Add simd128-unimplemented subtarget feature new c220d196872 Refactor declarations of ASTContext allocate functions into [...] new 5f33e7c9bf0 [AMDGPU] Separate feature dot-insts new a91070b7f2f [AMDGPU] Separate feature dot-insts new c4b6b9cae22 Revert "[WebAssembly] Add simd128-unimplemented subtarget feature" new c5327cfeed6 i[Sanitizer] Enable pututxline interception new e9e011c5fe4 Remove unnecessary include. new 3e597ce65ce [AArch64] Emit the correct MCExpr relocations specifiers li [...]
The 9 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
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/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 +++++++++++++++++++++ clang/docs/OpenMPSupport.rst | 10 + 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/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 ++++++ 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 +- .../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/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/Host/posix/PipePosix.cpp | 5 +- lldb/source/Host/windows/PipeWindows.cpp | 79 +++++-- .../Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 22 +- .../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 | 4 +- 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/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 +- .../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/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/Transforms/InstCombine/memchr.ll | 35 +-- llvm/test/Transforms/InstCombine/strchr-1.ll | 5 +- 117 files changed, 1821 insertions(+), 780 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 llvm/test/CodeGen/AArch64/reloc-specifiers.mir create mode 100644 llvm/test/CodeGen/AArch64/shrink-constant-multiple-users.ll