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-lts-allyesconfig in repository toolchain/ci/llvm-project.
from e198823b87b [libc++][test] Silence MSVC warning in std::optional test adds b12012cc980 gn build: (manually) merge r374663 adds e95d1ca1e2e Revert r374663 "[clang-format] Proposal for clang-format to [...] adds 92694eba933 [SROA] Reuse existing lifetime markers if possible adds ea1e81f54b9 [Attributor][FIX] Avoid modifying naked/optnone functions adds 9daf51910b1 [Attributor][FIX] Add missing function declaration in test case adds d20f80780e0 [Attributor][FIX] Do not apply h2s for arbitrary mallocs adds af6e4797330 [Attributor][FIX] Ensure h2s doesn't trigger on escaped pointers adds 3753aa75d2f [Attributor][NFC] Expose call site traversal without QueryingAA adds e9d3f708220 [Attributor] Remove unused verification flag adds 4868841ee4f [Attributor][FIX] Remove leftover, now unused, variable adds 4056e7f02a4 [Attributor][FIX] Avoid splitting blocks if possible adds 8fe8adb9f19 [X86] Add v2i64->v2i32/v2i16/v2i8 test cases to the trunc p [...] adds bf57aa2b25c [X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating trunca [...] adds d50cb9ac8ca [X86] Add a one use check on the setcc to the min/max canon [...] adds 82f8f8b44cd [clang-tidy] New checker for not null-terminated result cau [...] adds 0fb5a1ee97a gn build: Merge r374707 adds 2e77fcb05b3 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds adac533d957 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds 3965c76abcc [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds 78037577f12 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds b56989bcc7d [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds d2b790eb680 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds 944a051ebbd IRTranslator - silence static analyzer null dereference war [...] adds 2c775709f6c BlockInCriticalSectionChecker - silence static analyzer dyn [...] adds 51fa7409e7b Make most clangd unittests pass on Windows adds e84916d8917 [X86][AVX] Add i686 avx splat tests adds 6a1f7d6c9ff [clang-format] Proposal for clang-format to give compiler s [...] adds d0b8db9ab8c gn build: (manually) merge r374720 adds 1f92d8b5449 [libc++][test] <=> now has a feature-test macro adds 80e088e1417 [libc++][test] std::variant test cleanup adds e4c58db8bc1 [X86] getTargetShuffleInputs - add KnownUndef/Zero output support adds 3efafd6c38a [X86] SimplifyMultipleUseDemandedBitsForTargetNode - use ge [...] adds 8e2561974d9 [NFC][InstCombine] More test for "sign bit test via shifts" [...] adds 9d80a722d7f Make the last to clangd unit tests pass on Windows. adds f90728c3227 [InstCombine] don't assume 'inbounds' for bitcast deref or [...] adds b32e4664a71 [ConstantFold] fix inconsistent handling of extractelement [...] adds 5d8870bc765 Add missing "REQUIRES: shell" to system-include-extractor.test
No new revisions were added by this update.
Summary of changes: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../bugprone/NotNullTerminatedResultCheck.cpp | 1007 ++++++++++++++++++ .../bugprone/NotNullTerminatedResultCheck.h | 67 ++ .../clangd/test/system-include-extractor.test | 3 + .../clangd/unittests/DiagnosticsTests.cpp | 10 +- .../clangd/unittests/FindTargetTests.cpp | 16 + .../clangd/unittests/ParsedASTTests.cpp | 3 + .../clangd/unittests/SelectionTests.cpp | 10 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 10 +- .../clangd/unittests/TweakTesting.cpp | 2 + clang-tools-extra/clangd/unittests/TweakTesting.h | 3 + clang-tools-extra/clangd/unittests/TweakTests.cpp | 11 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 9 +- clang-tools-extra/docs/ReleaseNotes.rst | 9 + .../checks/bugprone-not-null-terminated-result.rst | 132 +++ clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../not-null-terminated-result-c.h | 39 + .../not-null-terminated-result-cxx.h | 65 ++ ...ll-terminated-result-in-initialization-strlen.c | 84 ++ ...not-null-terminated-result-memcpy-before-safe.c | 71 ++ ...-not-null-terminated-result-memcpy-safe-cxx.cpp | 124 +++ ...-not-null-terminated-result-memcpy-safe-other.c | 112 ++ ...gprone-not-null-terminated-result-memcpy-safe.c | 124 +++ .../bugprone-not-null-terminated-result-strlen.c | 123 +++ .../bugprone-not-null-terminated-result-wcslen.cpp | 111 ++ ...not-null-terminated-result-wmemcpy-safe-cxx.cpp | 111 ++ .../Checkers/BlockInCriticalSectionChecker.cpp | 2 +- clang/test/Format/dry-run-alias.cpp | 2 +- clang/test/Format/dry-run.cpp | 2 +- .../variant.variant/variant.assign/conv.pass.cpp | 1 + .../variant.variant/variant.assign/copy.pass.cpp | 2 +- .../variant.variant/variant.assign/move.pass.cpp | 2 +- .../variant.variant/variant.ctor/conv.pass.cpp | 3 +- .../variant.mod/emplace_index_args.pass.cpp | 2 +- .../variant.mod/emplace_type_args.pass.cpp | 2 +- libcxx/test/support/test_macros.h | 5 +- llvm/include/llvm/Transforms/IPO/Attributor.h | 25 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 7 +- llvm/lib/IR/ConstantFold.cpp | 9 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 75 +- llvm/lib/Transforms/IPO/Attributor.cpp | 127 ++- .../Transforms/InstCombine/InstCombineCasts.cpp | 12 +- llvm/lib/Transforms/Scalar/SROA.cpp | 10 +- llvm/test/CodeGen/X86/avx-splat.ll | 165 ++- llvm/test/CodeGen/X86/midpoint-int.ll | 605 +++++------ llvm/test/CodeGen/X86/vector-trunc-packus.ll | 1064 ++++++++++++++++++- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 1100 ++++++++++++++++++-- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 718 +++++++++++++ llvm/test/Transforms/ConstProp/InsertElement.ll | 2 +- .../test/Transforms/FunctionAttrs/heap_to_stack.ll | 124 ++- llvm/test/Transforms/FunctionAttrs/liveness.ll | 4 +- llvm/test/Transforms/FunctionAttrs/nonnull.ll | 26 + .../Transforms/FunctionAttrs/noreturn_async.ll | 8 +- .../test/Transforms/FunctionAttrs/noreturn_sync.ll | 4 +- .../Transforms/InstCombine/load-bitcast-vec.ll | 4 +- .../shift-amount-reassociation-in-bittest.ll | 8 + ...ft-amount-reassociation-with-truncation-ashr.ll | 26 +- ...ft-amount-reassociation-with-truncation-lshr.ll | 26 +- ...ift-amount-reassociation-with-truncation-shl.ll | 8 +- .../InstCombine/shift-amount-reassociation.ll | 116 +++ ...n-bit-test-via-right-shifting-all-other-bits.ll | 206 +++- .../test/Transforms/SROA/reuse_lifetime_markers.ll | 69 ++ .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + .../gn/secondary/clang/tools/clang-format/BUILD.gn | 1 + 65 files changed, 6101 insertions(+), 733 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 llvm/test/Transforms/SROA/reuse_lifetime_markers.ll