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-arm-mainline-allyesconfig in repository toolchain/ci/llvm-project.
from 8f0c901c1a17 [Driver] Report -Wunused-command-line-argument for unimple [...] adds 2ebfda2417e9 [InstCombine] Improve folding of mul + icmp adds 3bb1ce231903 Add a nop instruction if a section starts with landing pad [...] adds d959324e1efe Revert "[lldb/Fuzzer] Add fuzzer for expression evaluator" adds 0b8377534e6a [flang] Fold SET_EXPONENT() and FRACTION() adds 3b8a1cc38ab7 [lldb] Disable TestGuiExpandThreadsTree adds c18304e60067 [lldb] Remote accidental logs left in TestGuiExpandThreadsTree adds 589ddd7fe8e4 [clang][dataflow] ArrayRef'ize debugString() adds b4722cc4c96e [libc++][test] Fix infinite loop when mkstemp fails adds ee6aba85aa48 [clang][dataflow] Expose stringification functions for SAT [...] adds c105d9b3d638 [flang] Admit trailing blanks when checking I/O specifiers adds 1e4478bbea72 Move "clang/Basic/TokenKinds.h" into a separate top-level module. adds b5414b566a5a [clang][dataflow] Add DataflowEnvironment::dump() adds 0d89963df354 [Lit] Pass through DFLTCC from the surrounding environment adds e03664d40c70 [flang] Fix parsing and semantics for array element substr [...] adds 80a4e6fd31a0 [Driver] Error for -gsplit-dwarf with RISC-V linker relaxation adds 60b1fcb1a550 [flang] Correct folding of TRANSFER(integer, character array) adds 15e9b1d0c0be [libasan] Remove 4Mb stack limit for swapcontext unpoisoning adds 7aa77c5a6712 [flang] Fix a warning adds baec06a9d499 [flang] Fold calls to ISHFTC() adds 6b7eae11f162 [Attributor][FIX] HasBeenWrittenTo logic should only be us [...] adds 1a3a2eec717b [NFC] Move function definition to cpp file adds 6fa6901bf0ed Use has_value instead of hasValue (NFC) adds 33c18fbc190d [mlir] Use value instead of getValue (NFC) adds 3ccd4ce29ca7 [flang] Support aint/anint for 80/128 bit in lowering adds 380a1b204c36 Use callables directly in any_of, count_if, etc (NFC) adds 8937252465a5 [DAG] computeKnownBits - add basic shift-by-parts handling adds 2bfb0fcb5151 [MIPS][compiler-rt] Fix stat struct's size for O32 ABI adds 2421a5af72e7 [DAG] ExpandIntRes_ADDSUB - create UADDO/USUBO instead of [...] adds 6aff1b7b3ca7 [DAG] SimplifyDemandedBits - pull out repeated getValueTyp [...] adds 66e66117ba51 [bazel] Add missing dependencies after 535b507ba58e8b5f604 [...] adds aee76cb59ca2 [Clang] Add support for Unicode identifiers (UAX31) in C2x mode. adds 559f07b87211 [Clang] Adjust extension warnings for #warning adds 5f89d2bae964 [DAG] Move OR(AND(X,C1),AND(OR(X,Y),C2)) -> OR(AND(X,OR(C1 [...] adds cd9a5cfd2e4e Use the range-based overload of llvm::sort where possible adds e82880e6b8cd [Clang] Update the status of N2393 in c_status.html adds aba43035bdf8 Use llvm::sort instead of std::sort where possible adds 4acc02357e58 [IR] Fixed ambiguous call to llvm::report_fatal_error adds b35e0d0cf355 [lld-macho] Fix segfault when handling LTO + object file w [...] adds 676a03d8a5e3 [X86] matchBinaryShuffle - limit SHUFFLE(X,Y) -> OR(X,Y) c [...] adds d23da0ec6c53 [lld-macho] Fold __objc_imageinfo sections adds 1cc7f5bedec7 Use static_assert instead of assert (NFC) adds 32560211c620 Fix one stray `{LLVM -> CLANG}_TOOLS_INSTALL_DIR` adds cbfc22392085 [flang] Fix name of dummy argument to intrinsic NEW_LINE(A='') adds 1b4b12a34022 Revert "[NFC] Improve FileSpec internal APIs and usage in [...] adds 3096b85696cc [flang] Don't fold zero-length substring references adds ee61dc5f6c57 [lld-macho][nfc] Reduce nesting of code added in D130125 adds b09c8905108c [flang] Clean up bogus semantic error on procedure pointer [...] adds 825df62e8b78 [X86] Add test case for Issue #56520 adds ac8be21365bc [DAG] isSplatValue - don't attempt to merge any BITCAST su [...] adds a9782fead320 [flang] Correct IsHostAssociated() to be true for BLOCK co [...] adds 71cdb8c6f144 [ADT] Use default member initialization (NFC) adds 85dadf6d8d5a [TableGen] Drop an unnecessary const from a return type (NFC) adds c17450a094f2 [AMDGPU] Change DEBUG_TYPE from isel to amdgpu-isel adds 97718180d7ef [Analysis] Remove a redundant return statement (NFC) adds c730f9a164ea Convert for_each to range-based for loops (NFC) adds ae998555ba7a [AMDGPU] Remove a redundant variable (NFC) adds 2d2e2e7ea960 [Vectorize] Remove isConsecutiveLoadOrStore (NFC) adds 9df0b254d24e [NFC] Switch a few uses of undef to poison as placeholders [...] adds a30e77b6f683 fix tests for commit 9df0b254d24eca098 adds 8293645e1b68 Autogenerate tests for win64-byval.ll . NFC adds 7225213c0a0c [LegacyPM] Remove {,PostInline}EntryExitInstrumenterPass adds 2622c5e21264 [lldb] Adapt lldb tests to changes in 71cdb8c6f144 adds 3736a498d48c [IPO] Use std::array for AccessKind2Accesses (NFC) adds 7bfa06f6c090 [CodeGen] Use range-based for loops (NFC) adds 944cb96429b8 clang/include/clang/module.modulemap: Mark `Tooling/Inclus [...] adds 9adc00a9d0af [RISCV] Add a continue to reduce nesting. NFC adds d534967b6667 [Orc] Use default member initialization (NFC) adds 2201d1827ff3 [Analysis] Use default member initialization (NFC) adds ba1915028ecb [libcxx] Remove static inline and make use of _LIBCPP_HIDE [...] adds 89357f0cb9c2 [Passes] Simplify ChangePrinter names. NFC adds 068d5066b3c7 [Hexagon] Remove unused declaration getByteVectorTy (NFC) adds 5bbe452e75d4 Revert "[Orc] Use default member initialization (NFC)" adds 2eba08fd9a5f [clangd] Do not try to use $0 as a placeholder in completi [...] adds 6977ff40064d [MC] Delete dead zlib-gnu code and simplify writeSectionData adds 7feab85df8e8 [MC] Remove unused renameELFSection adds 293899c64b75 [X86] Don't assume an AND/ANDNP element is undef/undemande [...] adds ce81a0df674f [X86][SSE] Enable X86ISD::ANDNP constant folding adds 69d1e805ce5f [X86] combineAndnp - remove unused variable. NFC. adds a3e38b4a206b [DAG] SimplifyDemandedVectorElts - if every and/mul elemen [...] adds e82d49bfed38 [DAG] SimplifyMultipleUseDemandedBits - early-out for any [...] adds 0708771cce05 [DAG] MaskedVectorIsZero - don't bother with (-1).isSubset [...] adds 94c3b169785c Fix crash in ObjC codegen introduced with 5ab6ee75994d6457 [...] adds 0ba128f7c8c2 [Clang] De-deprecate volatile compound operations adds c68baa73eb43 [clang] Fix incorrect constant folding of `if consteval` adds fa8a1896a784 [Clang] Add missing paper revisions in the release notes [NFC] adds d040c1a11599 [X86] Regenerate hoist-and-by-const-from-lshr-in-eqcmp-zer [...] adds 428c0f2adc52 [DAG] getNode - assert that SMUL_LOHI/UMUL_LOHI nodes have [...] adds 85efa22ee618 [X86] Autogenerate some of the fp128 tests. NFC adds 562ee7cc5fcb [DAG] visitSMUL_LOHI/visitUMUL_LOHI - ensure we canonicali [...] adds 12144a12da9e AMDGPU: Fix broken test checks adds 162ec611e92b [X86] Autogenerate cfguard-x86-64-vectorcall.ll. NFC adds 40abb28f616e RegAllocGreedy: Fix subranges when rematerializing dead su [...] adds b33aeee3e376 [X86] Autogenerate atomic tests. NFC adds 8f24a56a3a93 [compiler-rt][CMake] Enable TF intrinsics on powerpc32 Linux adds 46ae26e7eb70 [clang-tidy] implement new check 'misc-const-correctness' [...] adds 92df59c83d0d [Driver] Enable some sanitizers on FreeBSD AArch64 adds 81f0f5a0e57c [gn build] Port 46ae26e7eb70 adds 85cfd917231c [ELF] Optimize some non-constant alignTo with alignToPower [...] adds c661bd0886ed [llvm] Remove unused forward declarations (NFC) adds 559463e94ee3 [lldb] Use true instead of 0 (NFC) adds 4f8a2194c995 [lldb] Use nullptr instead of NULL (NFC) adds 1d9231de70fa [lldb] Remove redundant member initialization (NFC) adds 87d627b623eb Remove redundant string initialization (NFC) adds ec8fa36d7c49 [ExecutionEngine] Fix a header guard (NFC) adds ea29810c9d58 [CodeGen] Remove a redundant void (NFC) adds b7aa9c4ac8e7 [libc++] Granularize some more type_traits adds 80cb0cab4e86 [gn build] Port b7aa9c4ac8e7 adds 13853cf73035 [PhaseOrdering] add explanatory comment for test; NFC adds 4da47bee48a5 [ValueTracking] add test for isImpliedCondition with vecto [...] adds a925bef70c6c [ValueTracking] allow vector types in isImpliedCondition() adds 8ac2d06195bd [IPO] Use range-based for loops (NFC) adds 49f72cb5bd27 [Hexagon] Remove unused declaration SelectZeroExtend (NFC) adds bafeb6344865 [Hexagon] Remove unused declaration CanReturnSmallStruct (NFC) adds 9e88cbcc403b Use any_of (NFC) adds 5e29360743ca [NFC] Add parentheses in MathExtra.h adds acf648b5e91b Use llvm::less_first and llvm::less_second (NFC) adds 3089b411a465 [Reassociate][NFC] Consistent checking for FastMathFlags s [...] adds 73c84f9c13e9 [llvm-objcopy] Remove remnant .zdebug code adds 1ef32e78284b [mlir][Arithmetic] Fix printing larger integer attributes [...] adds edaae251cca0 [clang] better error message for while loops outside of co [...]
No new revisions were added by this update.
Summary of changes: .../lib/Tooling/ApplyReplacements.cpp | 3 +- .../clang-include-fixer/IncludeFixerContext.cpp | 12 +- .../clang-include-fixer/SymbolIndexManager.cpp | 2 +- .../clang-reorder-fields/ReorderFieldsAction.cpp | 5 +- .../clang-tidy/bugprone/UseAfterMoveCheck.cpp | 8 +- .../clang-tidy/llvm/IncludeOrderCheck.cpp | 29 +- clang-tools-extra/clang-tidy/misc/CMakeLists.txt | 2 + .../misc/ConfusableTable/BuildConfusableTable.cpp | 6 +- .../clang-tidy/misc/ConstCorrectnessCheck.cpp | 208 ++++ .../clang-tidy/misc/ConstCorrectnessCheck.h | 57 ++ .../clang-tidy/misc/MiscTidyModule.cpp | 3 + .../InconsistentDeclarationParameterNameCheck.cpp | 14 +- .../clang-tidy/readability/MagicNumbersCheck.cpp | 6 +- clang-tools-extra/clangd/CodeCompletionStrings.cpp | 14 +- clang-tools-extra/clangd/IncludeFixer.cpp | 3 +- clang-tools-extra/clangd/index/StdLib.cpp | 2 +- clang-tools-extra/clangd/refactor/Rename.cpp | 3 +- .../refactor/tweaks/ObjCMemberwiseInitializer.cpp | 2 +- .../clangd/unittests/CodeCompleteTests.cpp | 5 +- .../unittests/CodeCompletionStringsTests.cpp | 2 +- clang-tools-extra/docs/ReleaseNotes.rst | 5 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../clang-tidy/checks/misc/const-correctness.rst | 150 +++ .../pseudo/lib/grammar/LRTableBuild.cpp | 5 +- .../checkers/misc/const-correctness-cxx17.cpp | 55 ++ .../misc/const-correctness-pointer-as-values.cpp | 13 + .../checkers/misc/const-correctness-templates.cpp | 22 + ...nst-correctness-transform-pointer-as-values.cpp | 13 + .../misc/const-correctness-transform-values.cpp | 175 ++++ .../checkers/misc/const-correctness-unaligned.cpp | 19 + .../checkers/misc/const-correctness-values.cpp | 1030 ++++++++++++++++++++ .../misc/const-correctness-wrong-config.cpp | 12 + clang/cmake/modules/ProtobufMutator.cmake | 6 +- clang/docs/ReleaseNotes.rst | 10 +- .../FlowSensitive/DataflowAnalysisContext.h | 3 + .../Analysis/FlowSensitive/DataflowEnvironment.h | 3 +- .../clang/Analysis/FlowSensitive/DebugSupport.h | 23 +- clang/include/clang/Basic/Attr.td | 2 +- clang/include/clang/Basic/DiagnosticDriverKinds.td | 3 + clang/include/clang/Basic/DiagnosticLexKinds.td | 10 +- clang/include/clang/Basic/DiagnosticParseKinds.td | 2 + clang/include/clang/Sema/Sema.h | 3 +- clang/include/clang/module.modulemap | 14 +- clang/lib/AST/ExprConstant.cpp | 10 +- clang/lib/Analysis/ExprMutationAnalyzer.cpp | 18 +- .../FlowSensitive/DataflowAnalysisContext.cpp | 13 + .../Analysis/FlowSensitive/DataflowEnvironment.cpp | 6 +- clang/lib/Analysis/FlowSensitive/DebugSupport.cpp | 80 +- clang/lib/CodeGen/CGObjCGNU.cpp | 12 +- clang/lib/CodeGen/CodeGenModule.cpp | 28 + clang/lib/CodeGen/CodeGenModule.h | 29 +- clang/lib/CodeGen/TargetInfo.cpp | 2 +- clang/lib/Driver/Multilib.cpp | 7 +- clang/lib/Driver/ToolChains/Arch/RISCV.cpp | 12 +- clang/lib/Driver/ToolChains/Clang.cpp | 4 +- clang/lib/Driver/ToolChains/Clang.h | 6 + clang/lib/Driver/ToolChains/FreeBSD.cpp | 6 +- clang/lib/Edit/EditedSource.cpp | 4 +- clang/lib/Frontend/FrontendAction.cpp | 3 +- clang/lib/Lex/Lexer.cpp | 6 +- clang/lib/Lex/PPDirectives.cpp | 11 +- clang/lib/Parse/ParseDecl.cpp | 36 +- clang/lib/Sema/AnalysisBasedWarnings.cpp | 3 +- clang/lib/Sema/SemaExpr.cpp | 37 +- .../lib/StaticAnalyzer/Checkers/PaddingChecker.cpp | 2 +- clang/test/CodeGenCXX/cxx2b-consteval-if.cpp | 27 + .../gnustep2-nontrivial-destructor-argument.mm | 22 + clang/test/Driver/riscv-features.c | 7 + clang/test/Lexer/unicode.c | 8 +- clang/test/Parser/while-loop-outside-function.c | 26 + clang/test/Parser/while-loop-outside-function.cpp | 27 + clang/test/Preprocessor/ext-pp-directive.c | 13 + clang/test/SemaCXX/deprecated.cpp | 3 + clang/tools/clang-fuzzer/handle-cxx/CMakeLists.txt | 2 - .../tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt | 2 - .../Analysis/ExprMutationAnalyzerTest.cpp | 4 +- .../Analysis/FlowSensitive/DebugSupportTest.cpp | 25 + clang/unittests/Tooling/TransformerTest.cpp | 8 +- clang/utils/hmaptool/CMakeLists.txt | 2 +- clang/www/c_status.html | 4 +- compiler-rt/lib/asan/asan_interceptors.cpp | 10 +- compiler-rt/lib/builtins/CMakeLists.txt | 16 +- compiler-rt/lib/builtins/int_types.h | 2 +- .../sanitizer_platform_limits_posix.h | 7 +- .../TestCases/Linux/swapcontext_annotation.cpp | 53 +- flang/include/flang/Evaluate/real.h | 2 + flang/include/flang/Parser/dump-parse-tree.h | 1 + flang/include/flang/Parser/parse-tree.h | 12 +- flang/include/flang/Runtime/numeric.h | 84 -- flang/include/flang/Semantics/expression.h | 2 + flang/include/flang/Semantics/scope.h | 3 +- flang/include/flang/Semantics/tools.h | 2 + flang/lib/Evaluate/characteristics.cpp | 9 +- flang/lib/Evaluate/fold-implementation.h | 8 +- flang/lib/Evaluate/fold-integer.cpp | 22 +- flang/lib/Evaluate/fold-real.cpp | 14 +- flang/lib/Evaluate/initial-image.cpp | 27 +- flang/lib/Evaluate/intrinsics.cpp | 2 +- flang/lib/Evaluate/real.cpp | 21 + flang/lib/Lower/IntrinsicCall.cpp | 11 + flang/lib/Parser/Fortran-parsers.cpp | 3 + flang/lib/Parser/expr-parsers.cpp | 8 +- flang/lib/Parser/unparse.cpp | 4 + flang/lib/Semantics/check-io.cpp | 20 +- flang/lib/Semantics/data-to-inits.cpp | 2 +- flang/lib/Semantics/expression.cpp | 100 +- flang/lib/Semantics/resolve-names.cpp | 37 +- flang/lib/Semantics/tools.cpp | 29 +- flang/runtime/numeric.cpp | 169 +--- flang/test/Evaluate/fold-ishftc.f90 | 14 + flang/test/Evaluate/fold-transfer.f90 | 5 + flang/test/Evaluate/folding07.f90 | 22 + flang/test/Evaluate/rewrite02.f90 | 47 + flang/test/Lower/Intrinsics/aint.f90 | 42 + flang/test/Lower/Intrinsics/anint.f90 | 54 +- flang/test/Lower/math-lowering.f90 | 36 + flang/test/Semantics/OpenACC/acc-symbols01.f90 | 8 +- flang/test/Semantics/OpenMP/omp-do-schedule03.f90 | 4 +- flang/test/Semantics/OpenMP/omp-do-schedule04.f90 | 4 +- .../Semantics/OpenMP/omp-do01-positivecase.f90 | 2 +- .../Semantics/OpenMP/omp-do04-positivecase.f90 | 2 +- .../Semantics/OpenMP/omp-do05-positivecase.f90 | 6 +- .../Semantics/OpenMP/omp-do06-positivecases.f90 | 2 +- flang/test/Semantics/OpenMP/omp-do11.f90 | 8 +- flang/test/Semantics/OpenMP/omp-do12.f90 | 50 +- flang/test/Semantics/OpenMP/omp-do14.f90 | 40 +- flang/test/Semantics/OpenMP/omp-do17.f90 | 22 +- flang/test/Semantics/OpenMP/omp-reduction08.f90 | 20 +- flang/test/Semantics/OpenMP/omp-reduction09.f90 | 24 +- flang/test/Semantics/OpenMP/omp-symbol01.f90 | 20 +- flang/test/Semantics/OpenMP/omp-symbol02.f90 | 4 +- flang/test/Semantics/OpenMP/omp-symbol03.f90 | 6 +- flang/test/Semantics/OpenMP/omp-symbol04.f90 | 6 +- flang/test/Semantics/OpenMP/omp-symbol05.f90 | 4 +- flang/test/Semantics/OpenMP/omp-symbol06.f90 | 4 +- flang/test/Semantics/OpenMP/omp-symbol07.f90 | 2 +- flang/test/Semantics/OpenMP/omp-symbol08.f90 | 76 +- flang/test/Semantics/allocate04.f90 | 2 +- flang/test/Semantics/assign03.f90 | 10 +- flang/test/Semantics/data16.f90 | 10 +- flang/test/Semantics/io02.f90 | 3 + flang/test/Semantics/symbol05.f90 | 30 +- flang/test/Semantics/symbol09.f90 | 18 +- flang/test/Semantics/symbol11.f90 | 30 +- flang/unittests/Runtime/Numeric.cpp | 22 - libcxx/include/CMakeLists.txt | 19 + libcxx/include/__concepts/arithmetic.h | 2 + libcxx/include/__format/formatter_integer.h | 1 + libcxx/include/__functional/invoke.h | 11 +- libcxx/include/__iterator/incrementable_traits.h | 1 + libcxx/include/__memory/temporary_buffer.h | 1 + .../include/__support/xlocale/__nop_locale_mgmt.h | 13 +- libcxx/include/__type_traits/aligned_storage.h | 142 +++ libcxx/include/__type_traits/aligned_union.h | 55 ++ libcxx/include/__type_traits/common_reference.h | 188 ++++ libcxx/include/__type_traits/common_type.h | 138 +++ libcxx/include/__type_traits/copy_cv.h | 54 + libcxx/include/__type_traits/copy_cvref.h | 46 + .../include/__type_traits/is_nothrow_convertible.h | 53 + libcxx/include/__type_traits/is_primary_template.h | 34 + libcxx/include/__type_traits/is_signed_integer.h | 33 + libcxx/include/__type_traits/is_unsigned_integer.h | 33 + libcxx/include/__type_traits/is_valid_expansion.h | 31 + libcxx/include/__type_traits/lazy.h | 25 + .../include/__type_traits/make_32_64_or_128_bit.h | 48 + libcxx/include/__type_traits/make_signed.h | 76 ++ libcxx/include/__type_traits/make_unsigned.h | 89 ++ libcxx/include/__type_traits/nat.h | 32 + libcxx/include/__type_traits/promote.h | 95 ++ libcxx/include/__type_traits/remove_cvref.h | 41 + libcxx/include/__type_traits/type_list.h | 44 + libcxx/include/charconv | 1 + libcxx/include/math.h | 1 + libcxx/include/module.modulemap.in | 19 + libcxx/include/type_traits | 787 +-------------- libcxx/test/libcxx/private_headers.verify.cpp | 19 + .../test/libcxx/utilities/meta/meta_base.pass.cpp | 6 +- libcxx/test/support/platform_support.h | 16 +- lld/COFF/Chunks.cpp | 3 +- lld/COFF/DLL.cpp | 8 +- lld/COFF/DebugTypes.cpp | 3 +- lld/COFF/DriverUtils.cpp | 8 +- lld/COFF/PDB.cpp | 18 +- lld/ELF/Driver.cpp | 8 +- lld/ELF/LinkerScript.cpp | 12 +- lld/ELF/ScriptParser.cpp | 7 +- lld/ELF/SyntheticSections.cpp | 20 +- lld/ELF/Writer.cpp | 30 +- lld/MachO/Driver.cpp | 4 +- lld/MachO/InputFiles.cpp | 8 +- lld/MachO/InputFiles.h | 1 + lld/MachO/InputSection.h | 2 +- lld/MachO/SyntheticSections.cpp | 82 +- lld/MachO/SyntheticSections.h | 23 + lld/MachO/Writer.cpp | 5 + lld/test/ELF/linkerscript/operators.test | 2 +- lld/test/MachO/Inputs/lto-obj-weak-def.yaml | 144 +++ lld/test/MachO/builtin-rename.s | 14 +- lld/test/MachO/lto-obj-weak-def.ll | 35 + lld/test/MachO/objc-imageinfo.s | 172 ++++ lldb/include/lldb/Utility/FileSpec.h | 55 +- lldb/source/API/SBFileSpec.cpp | 12 +- lldb/source/API/SBLaunchInfo.cpp | 2 +- lldb/source/API/SBPlatform.cpp | 15 +- lldb/source/API/SBReproducer.cpp | 3 +- .../Breakpoint/BreakpointResolverFileLine.cpp | 2 +- lldb/source/Commands/CommandObjectDisassemble.cpp | 3 +- lldb/source/Commands/CommandObjectExpression.cpp | 2 +- lldb/source/Commands/CommandObjectLog.cpp | 2 +- lldb/source/Commands/CommandObjectMemory.cpp | 2 +- lldb/source/Commands/CommandObjectTarget.cpp | 6 +- lldb/source/Core/Debugger.cpp | 2 +- lldb/source/Core/IOHandlerCursesGUI.cpp | 2 +- lldb/source/Expression/FunctionCaller.cpp | 4 +- lldb/source/Expression/REPL.cpp | 2 +- lldb/source/Host/common/FileAction.cpp | 6 +- lldb/source/Host/common/FileSystem.cpp | 2 +- lldb/source/Host/common/Host.cpp | 2 +- lldb/source/Host/common/HostInfoBase.cpp | 8 +- lldb/source/Host/linux/HostInfoLinux.cpp | 8 +- lldb/source/Host/macosx/objcxx/Host.mm | 11 +- lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm | 15 +- lldb/source/Host/posix/FileSystemPosix.cpp | 5 +- lldb/source/Host/posix/HostInfoPosix.cpp | 2 +- lldb/source/Interpreter/OptionValueArray.cpp | 2 +- .../source/Interpreter/OptionValueFileSpecList.cpp | 2 +- .../source/Interpreter/OptionValuePathMappings.cpp | 2 +- .../MacOSX-DYLD/DynamicLoaderDarwin.cpp | 13 +- .../DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp | 4 +- .../POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp | 2 +- .../ExpressionParser/Clang/ClangASTSource.cpp | 5 +- .../Clang/ClangExpressionDeclMap.cpp | 2 +- .../Plugins/ExpressionParser/Clang/ClangHost.cpp | 8 +- .../ExpressionParser/Clang/ClangUserExpression.cpp | 2 +- .../Clang/ClangUtilityFunction.cpp | 2 +- .../RenderScriptRuntime/RenderScriptRuntime.cpp | 7 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 2 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 2 +- .../Plugins/Platform/Android/PlatformAndroid.cpp | 16 +- .../Plugins/Platform/MacOSX/PlatformDarwin.cpp | 25 +- .../Platform/MacOSX/PlatformDarwinKernel.cpp | 7 +- .../gdb-server/PlatformRemoteGDBServer.cpp | 15 +- .../GDBRemoteCommunicationServerCommon.cpp | 5 +- .../GDBRemoteCommunicationServerLLGS.cpp | 2 +- .../GDBRemoteCommunicationServerPlatform.cpp | 3 +- .../Process/gdb-remote/ProcessGDBRemote.cpp | 22 +- .../Plugins/Process/minidump/ProcessMinidump.cpp | 2 +- .../Python/ScriptInterpreterPython.cpp | 4 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 5 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 2 +- lldb/source/Symbol/ArmUnwindInfo.cpp | 2 +- lldb/source/Symbol/CompileUnit.cpp | 2 +- lldb/source/Symbol/Symbol.cpp | 2 +- lldb/source/Symbol/SymbolContext.cpp | 4 +- lldb/source/Symbol/Symtab.cpp | 2 +- lldb/source/Target/DynamicRegisterInfo.cpp | 2 +- lldb/source/Target/Platform.cpp | 27 +- lldb/source/Target/Target.cpp | 41 +- lldb/source/Target/TargetList.cpp | 2 +- lldb/source/Target/Trace.cpp | 2 +- lldb/source/Utility/FileSpec.cpp | 65 +- lldb/source/Utility/ReproducerProvider.cpp | 2 +- lldb/source/Utility/Timer.cpp | 2 +- .../TestGuiExpandThreadsTree.py | 1 + .../functionalities/dlopen_other_executable/main.c | 2 +- lldb/test/API/macosx/ignore_exceptions/main.c | 4 +- lldb/tools/lldb-fuzzer/CMakeLists.txt | 1 - .../lldb-expression-fuzzer/CMakeLists.txt | 57 -- .../lldb-expression-fuzzer.cpp | 73 -- lldb/tools/lldb-server/lldb-platform.cpp | 2 +- lldb/tools/lldb-test/lldb-test.cpp | 2 +- lldb/unittests/Target/FindFileTest.cpp | 2 +- lldb/unittests/Target/ModuleCacheTest.cpp | 16 +- lldb/unittests/Utility/FileSpecTest.cpp | 108 +- llvm/include/llvm/ADT/APInt.h | 4 +- llvm/include/llvm/ADT/APSInt.h | 4 +- llvm/include/llvm/ADT/BitVector.h | 4 +- llvm/include/llvm/ADT/EpochTracker.h | 6 +- llvm/include/llvm/ADT/IntEqClasses.h | 4 +- llvm/include/llvm/ADT/Triple.h | 14 +- llvm/include/llvm/Analysis/MemoryBuiltins.h | 1 - llvm/include/llvm/Analysis/ScalarEvolution.h | 6 +- llvm/include/llvm/Analysis/TargetTransformInfo.h | 1 - llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h | 2 + llvm/include/llvm/CodeGen/CallingConvLower.h | 4 +- llvm/include/llvm/CodeGen/LiveIntervals.h | 1 - llvm/include/llvm/CodeGen/LiveVariables.h | 6 +- llvm/include/llvm/CodeGen/MachineInstr.h | 5 +- llvm/include/llvm/CodeGen/MachinePipeliner.h | 4 +- llvm/include/llvm/CodeGen/RegisterScavenging.h | 12 +- llvm/include/llvm/CodeGen/ScheduleDAG.h | 5 +- llvm/include/llvm/CodeGen/TargetInstrInfo.h | 1 - .../ExecutorSharedMemoryMapperService.h | 6 +- llvm/include/llvm/IR/IRBuilder.h | 2 +- llvm/include/llvm/IR/IntrinsicInst.h | 3 - llvm/include/llvm/InitializePasses.h | 2 - llvm/include/llvm/LinkAllPasses.h | 2 - llvm/include/llvm/MC/MCContext.h | 2 - llvm/include/llvm/MC/MCTargetOptions.h | 1 - llvm/include/llvm/Support/MathExtras.h | 6 + llvm/include/llvm/TableGen/Record.h | 2 +- llvm/include/llvm/Transforms/IPO.h | 2 - .../llvm/Transforms/InstCombine/InstCombiner.h | 2 +- llvm/include/llvm/Transforms/Utils.h | 9 - llvm/lib/Analysis/LoopAccessAnalysis.cpp | 6 +- llvm/lib/Analysis/ValueTracking.cpp | 32 +- llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | 2 +- llvm/lib/CodeGen/BasicBlockSections.cpp | 6 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 12 +- llvm/lib/CodeGen/LiveRangeEdit.cpp | 16 +- llvm/lib/CodeGen/LiveVariables.cpp | 3 +- llvm/lib/CodeGen/MachineFunctionSplitter.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 49 +- .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 8 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 57 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 58 +- llvm/lib/IR/GCStrategy.cpp | 5 +- llvm/lib/MC/ELFObjectWriter.cpp | 39 +- llvm/lib/MC/MCContext.cpp | 18 - llvm/lib/MC/MCPseudoProbe.cpp | 3 +- llvm/lib/ObjCopy/ELF/ELFObject.cpp | 34 +- llvm/lib/Passes/StandardInstrumentations.cpp | 67 +- llvm/lib/TableGen/JSONBackend.cpp | 4 +- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 2 +- llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp | 9 +- .../DirectX/DXILWriter/DXILBitcodeWriter.cpp | 8 +- .../DirectX/DXILWriter/DXILValueEnumerator.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h | 1 - llvm/lib/Target/Hexagon/HexagonISelLowering.h | 3 - llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp | 1 - llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 19 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 65 +- llvm/lib/Target/XCore/XCoreFrameLowering.cpp | 2 +- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 3 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 13 +- llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 61 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 3 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 40 +- llvm/lib/Transforms/Scalar/Reassociate.cpp | 6 +- llvm/lib/Transforms/Scalar/Scalar.cpp | 2 - llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 4 +- llvm/lib/Transforms/Utils/CloneFunction.cpp | 4 +- .../lib/Transforms/Utils/EntryExitInstrumenter.cpp | 59 -- llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 +- llvm/lib/Transforms/Utils/Local.cpp | 10 +- llvm/lib/Transforms/Utils/LoopUtils.cpp | 6 +- llvm/lib/Transforms/Utils/LowerAtomic.cpp | 2 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 +- llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 2 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 12 - llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 4 +- .../ValueTracking/known-power-of-two-urem.ll | 2 +- llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll | 8 +- llvm/test/CodeGen/AMDGPU/private-memory-atomics.ll | 14 +- llvm/test/CodeGen/AMDGPU/remat-vop.mir | 27 +- llvm/test/CodeGen/PowerPC/mcount-insertion.ll | 2 +- llvm/test/CodeGen/X86/atomic-load-store.ll | 19 +- llvm/test/CodeGen/X86/atomic-or.ll | 17 +- llvm/test/CodeGen/X86/atomic-pointer.ll | 21 +- .../X86/avx512fp16-cvt-ph-w-vl-intrinsics.ll | 3 +- llvm/test/CodeGen/X86/cfguard-x86-64-vectorcall.ll | 32 +- llvm/test/CodeGen/X86/fp128-calling-conv.ll | 35 +- llvm/test/CodeGen/X86/fp128-store.ll | 8 +- llvm/test/CodeGen/X86/fshl-splat-undef.ll | 9 +- .../hoist-and-by-const-from-lshr-in-eqcmp-zero.ll | 76 +- llvm/test/CodeGen/X86/machine-function-splitter.ll | 22 + llvm/test/CodeGen/X86/shift-parts.ll | 2 +- llvm/test/CodeGen/X86/vector-fshl-512.ll | 2 + llvm/test/CodeGen/X86/vector-fshl-rot-512.ll | 2 + llvm/test/CodeGen/X86/vector-fshr-512.ll | 46 +- llvm/test/CodeGen/X86/vector-fshr-rot-512.ll | 38 +- llvm/test/CodeGen/X86/vector-rotate-512.ll | 2 + llvm/test/CodeGen/X86/vector-shuffle-combining.ll | 50 + llvm/test/CodeGen/X86/win64-byval.ll | 101 +- .../Attributor/value-simplify-pointer-info.ll | 2 + .../IndVarSimplify/X86/eliminate-trunc.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-mul.ll | 36 +- llvm/test/Transforms/InstCombine/objsize.ll | 4 +- .../usub-overflow-known-by-implied-cond.ll | 6 +- .../Transforms/LoopDeletion/use-in-unreachable.ll | 2 +- llvm/test/Transforms/LoopStrengthReduce/pr51656.ll | 4 +- llvm/test/Transforms/LoopStrengthReduce/pr52161.ll | 6 +- .../Transforms/LoopVectorize/AMDGPU/packed-math.ll | 8 +- .../LoopVectorize/ARM/mve-reduction-predselect.ll | 32 +- .../Transforms/LoopVectorize/SystemZ/addressing.ll | 12 +- .../Transforms/LoopVectorize/X86/interleaving.ll | 6 +- .../Transforms/LoopVectorize/X86/parallel-loops.ll | 34 +- .../Transforms/LoopVectorize/X86/small-size.ll | 28 +- llvm/test/Transforms/LoopVectorize/bsd_regex.ll | 2 +- llvm/test/Transforms/LoopVectorize/induction.ll | 40 +- .../LoopVectorize/interleaved-accesses.ll | 24 +- .../LoopVectorize/reduction-inloop-pred.ll | 70 +- .../LoopVectorize/reduction-inloop-uf4.ll | 14 +- .../Transforms/LoopVectorize/reduction-inloop.ll | 82 +- .../LoopVectorize/reduction-predselect.ll | 40 +- .../Transforms/LoopVectorize/trunc-reductions.ll | 12 +- llvm/test/Transforms/LowerAtomic/atomic-swap.ll | 2 +- .../Transforms/PhaseOrdering/SystemZ/sub-xor.ll | 5 + llvm/tools/llc/llc.cpp | 2 - llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 2 +- llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp | 4 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 3 +- llvm/tools/llvm-xray/xray-graph.cpp | 9 +- llvm/tools/opt/opt.cpp | 2 - llvm/unittests/ADT/SmallPtrSetTest.cpp | 2 +- llvm/unittests/ADT/SmallSetTest.cpp | 9 +- llvm/unittests/Analysis/ValueTrackingTest.cpp | 12 + llvm/unittests/MIR/MachineMetadata.cpp | 13 +- llvm/unittests/Support/AlignmentTest.cpp | 3 +- llvm/unittests/TextAPI/TextStubV1Tests.cpp | 2 +- llvm/unittests/TextAPI/TextStubV2Tests.cpp | 2 +- llvm/unittests/TextAPI/TextStubV3Tests.cpp | 6 +- llvm/unittests/TextAPI/TextStubV4Tests.cpp | 12 +- llvm/utils/TableGen/DXILEmitter.cpp | 51 +- llvm/utils/TableGen/DirectiveEmitter.cpp | 2 +- llvm/utils/TableGen/SearchableTableEmitter.cpp | 6 +- .../UnicodeData/UnicodeNameMappingGenerator.cpp | 9 +- .../clang-tools-extra/clang-tidy/misc/BUILD.gn | 1 + llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 19 + llvm/utils/lit/lit/TestingConfig.py | 1 + mlir/lib/Analysis/Liveness.cpp | 15 +- mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp | 5 +- mlir/lib/Conversion/LLVMCommon/VectorPattern.cpp | 3 +- mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 5 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 4 +- mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 6 +- mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp | 3 +- mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 6 +- .../Transforms/BufferDeallocation.cpp | 4 +- .../Transforms/BufferResultsToOutParams.cpp | 4 +- .../Linalg/TransformOps/LinalgTransformOps.cpp | 10 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 2 +- mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 3 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 4 +- mlir/lib/Dialect/SCF/Utils/Utils.cpp | 2 +- .../Tosa/Transforms/TosaDecomposeConv2D.cpp | 5 +- .../Dialect/Transform/IR/TransformInterfaces.cpp | 2 +- mlir/lib/IR/AffineExpr.cpp | 2 +- mlir/lib/Interfaces/InferTypeOpInterface.cpp | 5 +- mlir/lib/Parser/Lexer.cpp | 2 +- mlir/lib/Pass/Pass.cpp | 2 +- mlir/test/Dialect/Arithmetic/ops.mlir | 6 + mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp | 6 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 + 444 files changed, 6378 insertions(+), 3149 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc/const-correctne [...] create mode 100644 clang/test/CodeGenObjC/gnustep2-nontrivial-destructor-argument.mm create mode 100644 clang/test/Parser/while-loop-outside-function.c create mode 100644 clang/test/Parser/while-loop-outside-function.cpp create mode 100644 flang/test/Evaluate/fold-ishftc.f90 create mode 100644 flang/test/Evaluate/rewrite02.f90 create mode 100644 libcxx/include/__type_traits/aligned_storage.h create mode 100644 libcxx/include/__type_traits/aligned_union.h create mode 100644 libcxx/include/__type_traits/common_reference.h create mode 100644 libcxx/include/__type_traits/common_type.h create mode 100644 libcxx/include/__type_traits/copy_cv.h create mode 100644 libcxx/include/__type_traits/copy_cvref.h create mode 100644 libcxx/include/__type_traits/is_nothrow_convertible.h create mode 100644 libcxx/include/__type_traits/is_primary_template.h create mode 100644 libcxx/include/__type_traits/is_signed_integer.h create mode 100644 libcxx/include/__type_traits/is_unsigned_integer.h create mode 100644 libcxx/include/__type_traits/is_valid_expansion.h create mode 100644 libcxx/include/__type_traits/lazy.h create mode 100644 libcxx/include/__type_traits/make_32_64_or_128_bit.h create mode 100644 libcxx/include/__type_traits/make_signed.h create mode 100644 libcxx/include/__type_traits/make_unsigned.h create mode 100644 libcxx/include/__type_traits/nat.h create mode 100644 libcxx/include/__type_traits/promote.h create mode 100644 libcxx/include/__type_traits/remove_cvref.h create mode 100644 libcxx/include/__type_traits/type_list.h create mode 100644 lld/test/MachO/Inputs/lto-obj-weak-def.yaml create mode 100644 lld/test/MachO/lto-obj-weak-def.ll create mode 100644 lld/test/MachO/objc-imageinfo.s delete mode 100644 lldb/tools/lldb-fuzzer/lldb-expression-fuzzer/CMakeLists.txt delete mode 100644 lldb/tools/lldb-fuzzer/lldb-expression-fuzzer/lldb-expression-f [...]