LLVM/project 7dc7264llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'main' into users/ylzsx/r-tls-noie
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+29,745-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+27,139-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+25,933-0llvm/test/CodeGen/AMDGPU/shufflevector.v2f32.v8f32.ll
+203,722-016,100 files not shown
+2,040,184-604,85516,106 files

LLVM/project 8c41ae6lldb/tools/lldb-dap lldb-dap.cpp, llvm/test/CodeGen/AMDGPU bf16.ll

Merge branch 'main' into users/meinersbur/flang_runtime_premerge
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,194-3,880llvm/test/CodeGen/AMDGPU/bf16.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll
+309-5,049lldb/tools/lldb-dap/lldb-dap.cpp
+90,138-8,9295,013 files not shown
+307,445-100,3025,019 files

LLVM/project a97bbe6lldb/tools/lldb-dap lldb-dap.cpp, llvm/test/CodeGen/AMDGPU bf16.ll

rebase

Created using spr 1.3.5-bogner
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,194-3,880llvm/test/CodeGen/AMDGPU/bf16.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll
+5,680-0llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll
+309-5,049lldb/tools/lldb-dap/lldb-dap.cpp
+90,138-8,9294,327 files not shown
+283,321-85,4414,333 files

LLVM/project 519ae24llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/nest-base' into users/chapuni/mcdc/nest/trunk
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+102,453-36,85810,567 files not shown
+953,290-609,13410,573 files

LLVM/project 03c851allvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/bitmapaddr' into users/chapuni/mcdc/nest/nest-base

Conflicts:
        clang/test/CoverageMapping/mcdc-single-cond.cpp
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+102,453-36,85810,567 files not shown
+953,290-609,13410,573 files

LLVM/project d6cb61allvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/bitmapaddr
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+102,453-36,85810,567 files not shown
+953,323-609,04210,573 files

LLVM/project 457cf4bllvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/mcdcstate
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+102,453-36,85810,567 files not shown
+953,323-609,04210,573 files

LLVM/project aac9c6dllvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/lnot
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+102,453-36,85810,566 files not shown
+953,289-609,12910,572 files

LLVM/project e57bdccllvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/expect
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+102,453-36,85810,566 files not shown
+953,289-609,12910,572 files

LLVM/project 9a175d0llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

Merge branch 'main' into users/chapuni/mcdc/nest/tests
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+102,453-36,85810,565 files not shown
+953,289-609,03210,571 files

LLVM/project 967dc03llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll

run 'git merge main'
DeltaFile
+65,595-0llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+102,453-36,8588,560 files not shown
+809,659-558,2578,566 files

LLVM/project f8b734fllvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll

fix order

Created using spr 1.3.4
DeltaFile
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+43,825-43,8257,407 files not shown
+681,199-531,6487,413 files

LLVM/project 41056e8llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+43,825-43,8257,401 files not shown
+681,165-531,6217,407 files

LLVM/project 0cfee98llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll

Rebase

Created using spr 1.3.5
DeltaFile
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+43,825-43,8254,283 files not shown
+513,606-420,7004,289 files

LLVM/project af42b11llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll

rebase

Created using spr 1.3.4
DeltaFile
+7,782-7,782llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+7,427-7,427llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+7,255-7,255llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll
+6,967-6,967llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll
+43,825-43,8254,198 files not shown
+510,585-434,2364,204 files

LLVM/project e45a72allvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll

refactor

Created using spr 1.3.4
DeltaFile
+30,641-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+27,139-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+25,933-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
+25,933-0llvm/test/CodeGen/AMDGPU/shufflevector.v2p3.v8p3.ll
+164,956-015,561 files not shown
+1,914,489-576,76815,567 files

LLVM/project 8ad3d66llvm/lib/Target/NVPTX NVPTXISelDAGToDAG.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-interleaved-access.ll

rebase and resolve conflicts

Created using spr 1.3.5-bogner
DeltaFile
+660-653llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll
+684-0mlir/test/Dialect/Tosa/availability.mlir
+476-0mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
+62-381llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+403-0mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h
+356-0mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+2,641-1,034315 files not shown
+10,257-3,599321 files

LLVM/project 624bd5cclang-tools-extra/test/clang-tidy/checkers/google upgrade-googletest-case.cpp, clang-tools-extra/test/clang-tidy/checkers/misc use-internal-linkage-func.cpp

Revert "[Clang] [NFC] Fix more `-Wreturn-type` warnings in tests everywhere (…"

This reverts commit b0210fee94bc29a507f900da1fb97f0e50ab2637.
DeltaFile
+14-14clang-tools-extra/test/clang-tidy/checkers/modernize/use-trailing-return-type.cpp
+14-14clang-tools-extra/test/clang-tidy/checkers/google/upgrade-googletest-case.cpp
+12-12clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
+10-11clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
+10-10clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
+6-10clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays-ignores-three-arg-main.cpp
+66-7158 files not shown
+164-20264 files

LLVM/project b0210feclang-tools-extra/test/clang-tidy/checkers/google upgrade-googletest-case.cpp, clang-tools-extra/test/clang-tidy/checkers/misc use-internal-linkage-func.cpp

[Clang] [NFC] Fix more `-Wreturn-type` warnings in tests everywhere (#123470)

With the goal of eventually being able to make `-Wreturn-type` default to an 
error in all language modes, this is a follow-up to #123464 and updates even
more tests, mainly clang-tidy and clangd tests.
DeltaFile
+14-14clang-tools-extra/test/clang-tidy/checkers/modernize/use-trailing-return-type.cpp
+14-14clang-tools-extra/test/clang-tidy/checkers/google/upgrade-googletest-case.cpp
+12-12clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
+11-10clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
+10-10clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
+10-6clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays-ignores-three-arg-main.cpp
+71-6658 files not shown
+202-16464 files

LLVM/project 80a0c15clang/test/CodeGen/RISCV/rvv-intrinsics vluxseg.c vloxseg.c, clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded vloxseg.c vluxseg.c

Merge branch 'main' into irbuilder-extract-refactor
DeltaFile
+12,242-14,649llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+11,615-13,961llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+2-24,936clang/test/CodeGen/RISCV/rvv-intrinsics/vluxseg.c
+2-24,936clang/test/CodeGen/RISCV/rvv-intrinsics/vloxseg.c
+2-21,307clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vloxseg.c
+2-21,307clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vluxseg.c
+23,865-121,09630,598 files not shown
+2,090,526-1,305,42030,604 files

LLVM/project 4d00652clang-tools-extra/clangd/index BackgroundRebuild.cpp YAMLSerialization.cpp, clang-tools-extra/clangd/index/dex Dex.h

[clangd] Clean up unused includes. NFCI

Add includes where needed to fix build.
Haven't systematically added used headers, so there is still accidental
dependency on transitive includes.
DeltaFile
+0-24clang-tools-extra/clangd/index/BackgroundRebuild.cpp
+8-11clang-tools-extra/clangd/index/YAMLSerialization.cpp
+0-16clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
+11-3clang-tools-extra/clangd/unittests/LSPClient.cpp
+4-6clang-tools-extra/clangd/index/dex/Dex.h
+2-8clang-tools-extra/clangd/index/SymbolCollector.cpp
+25-68184 files not shown
+117-489190 files

LLVM/project 8edfc2fclang-tools-extra/clangd/unittests CodeCompleteTests.cpp FindSymbolsTests.cpp

[clangd] Cleanup of readability-identifier-naming

Auto-generated patch based on clang-tidy readability-identifier-naming.
Only some manual cleanup for `extern "C"` declarations and a GTest change was required.

I'm not sure if this cleanup is actually very useful. It cleans up clang-tidy findings to the number of warnings from clang-tidy should be lower.  Since it was easy to do and required only little cleanup I thought I'd upload it for discussion.

One pattern that keeps recurring: Test **matchers** are also supposed to start with a lowercase letter as per LLVM convention. However GTest naming convention for matchers start with upper case. I would propose to keep stay consistent with the GTest convention there. However that would imply a lot of `//NOLINT` throughout these files.

To re-product this patch run:
```
run-clang-tidy -checks="-*,readability-identifier-naming" -fix -format ./clang-tools-extra/clangd
```

To convert the macro names, I was using this script with some manual cleanup afterwards:
https://gist.github.com/ChristianKuehnel/a01cc4362b07c58281554ab46235a077

Differential Revision: https://reviews.llvm.org/D115634
DeltaFile
+355-354clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
+295-295clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
+267-267clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
+94-94clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
+76-76clang-tools-extra/clangd/unittests/XRefsTests.cpp
+59-59clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
+1,146-1,14534 files not shown
+1,595-1,58640 files

LLVM/project 055d809clang-tools-extra/clangd AST.cpp Quality.cpp, clang-tools-extra/clangd/unittests ASTTests.cpp SymbolCollectorTests.cpp

[clangd] Don't index __reserved_names in headers.

Main use of these is in the standard library, where they generally clutter up
the index.

Certain macros are also common, we don't touch indexing of macros in this patch.

Differential Revision: https://reviews.llvm.org/D115301
DeltaFile
+23-0clang-tools-extra/clangd/unittests/ASTTests.cpp
+18-0clang-tools-extra/clangd/AST.cpp
+16-1clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
+10-7clang-tools-extra/clangd/unittests/QualityTests.cpp
+4-9clang-tools-extra/clangd/Quality.cpp
+10-0clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
+81-175 files not shown
+105-1811 files

LLVM/project 7d1b499clang-tools-extra/clangd Quality.cpp AST.cpp, clang-tools-extra/clangd/unittests ASTTests.cpp QualityTests.cpp

Revert "[clangd] Extract symbol-scope logic out of Quality, add tests. NFC"

On second thought, this can't properly be reused for highlighting.

Consider this example, which Quality wants to consider function-scope,
but highlighting must consider class-scope:

void foo() {
  class X {
    int ^y;
  };
}
DeltaFile
+0-71clang-tools-extra/clangd/unittests/ASTTests.cpp
+40-15clang-tools-extra/clangd/Quality.cpp
+16-16clang-tools-extra/clangd/unittests/QualityTests.cpp
+0-24clang-tools-extra/clangd/AST.cpp
+8-2clang-tools-extra/clangd/Quality.h
+0-9clang-tools-extra/clangd/AST.h
+64-1373 files not shown
+68-1419 files

LLVM/project d0817b5clang-tools-extra/clangd Quality.cpp AST.cpp, clang-tools-extra/clangd/unittests ASTTests.cpp QualityTests.cpp

[clangd] Extract symbol-scope logic out of Quality, add tests. NFC

This prepares for reuse from the semantic highlighting code.

There's a bit of yak-shaving here:
 - when the enum is moved into the clangd namespace, promote it to a
   scoped enum. This means teaching the decision forest infrastructure
   to deal with scoped enums.
 - AccessibleScope isn't quite the right name: e.g. public class members
   are treated as accessible, but still have class scope. So rename to
   SymbolScope.
 - Rename some QualitySignals members to avoid name conflicts.
   (the string) SymbolScope -> Scope
   (the enum) Scope -> ScopeKind
DeltaFile
+71-0clang-tools-extra/clangd/unittests/ASTTests.cpp
+15-40clang-tools-extra/clangd/Quality.cpp
+16-16clang-tools-extra/clangd/unittests/QualityTests.cpp
+24-0clang-tools-extra/clangd/AST.cpp
+2-8clang-tools-extra/clangd/Quality.h
+9-0clang-tools-extra/clangd/AST.h
+137-643 files not shown
+141-689 files

LLVM/project 9b1666fclang-tools-extra/clangd Quality.cpp Quality.h, clang-tools-extra/clangd/index/dex Dex.cpp

[clangd] Rename evaluate() to evaluateHeuristics()

Since we have 2 scoring functions (heuristics and decision forest),
renaming the existing evaluate() function to be more descriptive of the
Heuristics being evaluated in it.

Differential Revision: https://reviews.llvm.org/D88431
DeltaFile
+45-36clang-tools-extra/clangd/unittests/QualityTests.cpp
+4-4clang-tools-extra/clangd/Quality.cpp
+3-3clang-tools-extra/clangd/index/dex/Dex.cpp
+2-3clang-tools-extra/clangd/Quality.h
+2-2clang-tools-extra/clangd/CodeComplete.cpp
+2-2clang-tools-extra/clangd/XRefs.cpp
+58-501 files not shown
+60-527 files

LLVM/project 0233b37clang/test/CodeGen aarch64-neon-2velem.c, lldb/source/Symbol TypeSystemClang.cpp ClangASTContext.cpp

[DPWBS-1239] Merge community master into htc/master

The following TriCore files needed to be touched due to changes
in the upstream community:

TriCoreMCTargetDesc.cpp:     adcd02683856c30ba6f349279509acecd90063df
TriCoreSubtarget.cpp:        adcd02683856c30ba6f349279509acecd90063df
TriCoreLegalizerInfo.cpp/.h: c5fffa4da35f0fcc89b5ea88cc1bc60bc475a18e

The following tests were updated/deleted due to changes in the
GlobalISel legalizer:

xfail-legalize-non-pow-2-memory.mir:   dc141af7553871b94f0d7cb4b1f2096578a923be
                                       9965b12fd1bcb78396fbea2c28d80068e43b31a3
legalize-load-store.mir:               dc141af7553871b94f0d7cb4b1f2096578a923be
                                       9965b12fd1bcb78396fbea2c28d80068e43b31a3
legalize-unmerge-values{-invalid}.mir: 2a160ba5b0ad065ee7020c787e7f896416be3faa
DeltaFile
+9,318-0lldb/source/Symbol/TypeSystemClang.cpp
+0-9,311lldb/source/Symbol/ClangASTContext.cpp
+3,242-2,437clang/test/CodeGen/aarch64-neon-2velem.c
+445-2,821llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+2,438-0llvm/lib/DWARFLinker/DWARFLinker.cpp
+2,294-0mlir/docs/doxygen.cfg.in
+17,737-14,5695,106 files not shown
+165,328-58,0805,112 files

LLVM/project d3260bfclang-tools-extra/clangd/unittests TweakTests.cpp DiagnosticsTests.cpp

[clangd] Errors in TestTU cause test failures unless suppressed with error-ok.

Summary:
The historic behavior of TestTU is to gather diagnostics and otherwise ignore
them. So if a test has a syntax error, and doesn't assert diagnostics, it
silently misbehaves.
This can be annoying when developing tests, as evidenced by various tests
gaining "assert no diagnostics" where that's not really the point of the test.

This patch aims to make that default behavior. For the first error
(not warning), TestTU will call ADD_FAILURE().

This can be suppressed with a comment containing "error-ok". For now that will
suppress any errors in the TU. We can make this stricter later -verify style.
(-verify itself is hard to reuse because of DiagnosticConsumer interfaces...)
A magic-comment was chosen over a TestTU option because of table-driven tests.

In addition to the behavior change, this patch:
  - adds //error-ok where we're knowingly testing invalid code

    [11 lines not shown]
DeltaFile
+35-40clang-tools-extra/clangd/unittests/TweakTests.cpp
+39-32clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
+1-24clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
+0-21clang-tools-extra/clangd/unittests/HoverTests.cpp
+17-0clang-tools-extra/clangd/unittests/TestTU.cpp
+8-5clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
+100-12212 files not shown
+124-15518 files

LLVM/project 2c2a7bbclang/test/Analysis/Inputs/expected-plists retain-release.m.objcpp.plist retain-release.m.objc.plist, lldb/www/python_reference lldb-pysrc.html _lldb'-module.html

Merge community 'master' into HighTec htc/master
DeltaFile
+131,121-0llvm/test/MC/AMDGPU/gfx10_asm_all.s
+98,845-0llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
+0-76,576lldb/www/python_reference/lldb-pysrc.html
+0-35,247lldb/www/python_reference/_lldb'-module.html
+26,304-0clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist
+26,235-0clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist
+282,505-111,82349,584 files not shown
+3,612,145-1,757,40149,590 files

LLVM/project 9fb22b2clang-tools-extra/clangd SourceCode.cpp CodeComplete.cpp, clang-tools-extra/clangd/unittests CodeCompleteTests.cpp SourceCodeTests.cpp

[clangd] Boost code completion results that were named in the last few lines.

Summary:
The hope is this will catch a few patterns with repetition:

  SomeClass* S = ^SomeClass::Create()

  int getFrobnicator() { return ^frobnicator_; }

  // discard the factory, it's no longer valid.
  ^MyFactory.reset();

Without triggering antipatterns too often:

  return Point(x.first, x.^second);

I'm going to gather some data on whether this turns out to be a win overall.

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, kadircet, cfe-commits

    [6 lines not shown]
DeltaFile
+40-0clang-tools-extra/clangd/SourceCode.cpp
+25-0clang-tools-extra/clangd/CodeComplete.cpp
+18-2clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
+17-0clang-tools-extra/clangd/Quality.cpp
+14-0clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
+10-0clang-tools-extra/clangd/unittests/QualityTests.cpp
+124-24 files not shown
+142-610 files