LLVM/project 37e83e7orc-rt/include/orc-rt Error.h

[orc-rt] Add some missing noexcept specifiers to Error.h. (#206984)
DeltaFile
+25-21orc-rt/include/orc-rt/Error.h
+25-211 files

LLVM/project 92313efmlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

Revert "[mlir-c] Add ConversionTarget dynamic legality C API" (#207104)

Reverts llvm/llvm-project#206161 due to SAN failures.
DeltaFile
+0-180mlir/test/CAPI/rewrite.c
+0-60mlir/lib/CAPI/Transforms/Rewrite.cpp
+0-44mlir/include/mlir-c/Rewrite.h
+0-2843 files

LLVM/project 53069acclang/lib/CIR/CodeGen CIRGenExprConstant.cpp, clang/lib/CIR/Dialect/IR CIRAttrs.cpp

[CIR] Implement Flexible Array Members for const-record lowering (#206564)

The previous patch I did rewrote the ConstRecordBuilder in a way that
resulted in flexible array members being an NYI. This was because it
requires quite a bit of additional work to accomplish this.

This patch does this implementation. It does so by: 1- Changing the CIR
dialect to just support them. If a struct type ends in a zero size
array, it allows constant initialization with a non-zero array size.
This patch adds this, as well as tests to do so.

2- Change our LowerToLLVM to detect this pattern, and substitute in the
struct-literal type. There is some additional work to allow us to do a
padded literal, which results in slightly more matches to classic
codegen. But otherwise, it is a pretty straight forward struct
replacement with a larger array type.
DeltaFile
+91-3clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+60-0clang/test/CIR/CodeGen/flexible-array-init.c
+33-0clang/test/CIR/IR/invalid-const-record.cir
+28-3clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
+21-0clang/test/CIR/IR/const-record-flexible-array.cir
+7-6clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+240-122 files not shown
+255-128 files

LLVM/project e787692clang/include/clang/Sema Sema.h, clang/lib/Parse ParseTemplate.cpp ParseExprCXX.cpp

[clang] fix typo correction crash with template destructor names

Disables typo correction for template destructor names,
as typo correction is not aware of destructors and would
provide suugestions which would form an invalid name.

Since this fixes a regression that was never released, there are no release
notes.

Fixes #206992
DeltaFile
+7-11clang/lib/Sema/SemaTemplate.cpp
+7-8clang/lib/Parse/ParseTemplate.cpp
+4-4clang/lib/Parse/ParseExprCXX.cpp
+6-0clang/test/SemaCXX/typo-correction.cpp
+1-1clang/include/clang/Sema/Sema.h
+25-245 files

LLVM/project 6b3e723lldb/include/lldb/Utility Policy.h, lldb/source/Target Process.cpp StopInfo.cpp

[lldb] Harden PolicyStack against cross-thread Guard misuse (#195774)

Two related correctness/clarity improvements to the `Policy`
infrastructure introduced by 504a112:

`PolicyStack::Guard` now stores the std::thread::id of the thread that
created it. Destruction and move operations call
`llvm::report_fatal_error` when they happen on a different thread, since
the `PolicyStack` is `thread_local`: popping from the wrong thread would
silently corrupt that thread's stack.

`Push`/`Pop` on `PolicyStack` are now private. Callers go through named
factories (`PushPrivateState`, `PushPublicStateRunningExpression`) that
return RAII Guards. The transition factories on Policy
(`CreatePrivateState`, `CreatePublicStateRunningExpression`) inherit
from `PolicyStack::Get().Current()` and apply their named change on top,
so pushed policies preserve existing stack state rather than resetting
unrelated fields. `CreatePublicState` remains the baseline reference
value (returns a default `Policy{}`); the stack returns to public state

    [13 lines not shown]
DeltaFile
+76-24lldb/unittests/Utility/PolicyTest.cpp
+56-29lldb/include/lldb/Utility/Policy.h
+56-0lldb/source/Utility/Policy.cpp
+6-6lldb/source/Target/Process.cpp
+2-2lldb/source/Target/StopInfo.cpp
+1-1lldb/source/Target/Thread.cpp
+197-626 files

LLVM/project bf271c1clang/include/clang/Sema Sema.h, clang/lib/Parse ParseTemplate.cpp ParseExprCXX.cpp

[clang] fix typo correction crash with template destructor names

Disables typo correction for template destructor names,
as typo correction is not aware of destructors and would
provide suugestions which would form an invalid name.

Since this fixes a regression that was never released, there are no release
notes.

Fixes #206992
DeltaFile
+7-8clang/lib/Parse/ParseTemplate.cpp
+4-4clang/lib/Parse/ParseExprCXX.cpp
+6-0clang/test/SemaCXX/typo-correction.cpp
+2-3clang/lib/Sema/SemaTemplate.cpp
+1-1clang/include/clang/Sema/Sema.h
+20-165 files

LLVM/project 26bf00bclang/test/CIR/IR invalid-linkage.cir

[CIR][NFC] Re-enable invalid linkage test (#205459)

The CIR verification test for a cir.global op with a missing linkage
attribute was broken by a change to the MLIR asm parser back in April.
At that time, I marked the test as XFAIL and added a check that would
prevent it from randomly passing. In the meantime, another MLIR parser
changed (https://github.com/llvm/llvm-project/pull/188008) fixed the
original problem.

This change reverts the test to its previous state since it now passes.
DeltaFile
+0-3clang/test/CIR/IR/invalid-linkage.cir
+0-31 files

LLVM/project 32ae6b5lldb/tools/lldb-mcp lldb-mcp.cpp CMakeLists.txt

[lldb-mcp] Link liblldb instead of the full initialization stack (#206852)

lldb-mcp linked liblldb but also pulled in lldbInitialization, which
drags in lldbCore and the entire plugin stack as a second, static copy
of LLDB alongside the dylib. It bootstrapped that copy through the
private SystemInitializerCommon.

lldb-mcp is a thin stdio proxy: it locates and forwards I/O to an lldb
subprocess and never creates a debugger. It only needs the FileSystem,
HostInfo, and Socket subsystems. Drop lldbInitialization, get the heavy
code from liblldb, and initialize just those subsystems directly (as
lldb-dap does) rather than via SystemInitializerCommon.

rdar://181054260
DeltaFile
+10-9lldb/tools/lldb-mcp/lldb-mcp.cpp
+1-1lldb/tools/lldb-mcp/CMakeLists.txt
+11-102 files

LLVM/project 87a09a0clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[clang][SYCL] Add -fsycl-device-image-split option (#206870)

Add the -fsycl-device-image-split= driver option to control how SYCL
device code is split into separate device images. Supported values:
    - kernel: one device image per SYCL kernel
    - translation_unit: one device image per translation unit
    - link_unit:        one device image per linking unit

The bare -fsycl-device-image-split flag is an alias for
-fsycl-device-image-split=translation_unit, which is also the default.

clang-sycl-linker module-split-mode option values were updated
accordingly to simplify options forwarding logic.

Co-Authored-By: Claude
DeltaFile
+31-0clang/test/Driver/sycl-offload-jit.cpp
+17-0clang/lib/Driver/ToolChains/Clang.cpp
+6-6clang/test/OffloadTools/clang-sycl-linker/split-mode.ll
+6-6clang/test/OffloadTools/clang-sycl-linker/basic.ll
+10-0clang/include/clang/Options/Options.td
+4-4clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
+74-164 files not shown
+84-2010 files

LLVM/project a413409clang/lib/CodeGen CGHLSLBuiltins.cpp, clang/test/CodeGenHLSL/builtins InterlockedOr.hlsl

[HLSL][DXIL] InterlockedOr and InterlockedOr64 builtins (#180804)

This includes the first phase of implementation of the InterlockedOr
intrinsic. This covers the usage of the intrinsic/builtin on
RWByteAddressBuffers, Typed Buffers, and Structured Buffers. Not covered
are textures, groupshared memory, and the standalone
InterlockedOr(buf[index], val, ret) intrinsics.

SPIRV implementation is not covered in this commit.

Contributes to, but does not address
https://github.com/llvm/llvm-project/issues/99126
DeltaFile
+100-0clang/test/SemaHLSL/BuiltIns/InterlockedOr-errors.hlsl
+36-25clang/lib/CodeGen/CGHLSLBuiltins.cpp
+59-0clang/test/CodeGenHLSL/builtins/InterlockedOr.hlsl
+52-0llvm/test/CodeGen/DirectX/InterlockedOr.ll
+37-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/InterlockedOr_spv_i64.ll
+36-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/InterlockedOr.ll
+320-258 files not shown
+365-4314 files

LLVM/project e2eafd0clang/include/clang/ScalableStaticAnalysis/SourceTransformation TransformationReportFormat.h

fix build issue
DeltaFile
+2-0clang/include/clang/ScalableStaticAnalysis/SourceTransformation/TransformationReportFormat.h
+2-01 files

LLVM/project 974650cclang/unittests/ScalableStaticAnalysis/SourceTransformation RegistryTest.cpp

fix clang-format
DeltaFile
+2-2clang/unittests/ScalableStaticAnalysis/SourceTransformation/RegistryTest.cpp
+2-21 files

LLVM/project 0a2fb2alldb/source/Core SourceManager.cpp, lldb/test/API/functionalities/breakpoint/default_source_file TestDefaultSourceFile.py main.cpp

[lldb] Find the default source file's main by base name (#207043)

SourceManager::GetDefaultFileAndLine locates the executable's main to
pick a default source file, used for input like "break set -l N" with no
file specified. It searched for main by full name, but a function's
linkage name can differ from its source name, in which case a full-name
search for "main" does not find it and no default file is chosen.

For example, wasi-libc renames main to __main_argc_argv, so on
WebAssembly the debug function for main was never matched and "break set
-l N" failed with "no default file available".

When we can't find "main", fall back to searching by base name.
DeltaFile
+27-0lldb/test/API/functionalities/breakpoint/default_source_file/TestDefaultSourceFile.py
+10-0lldb/test/API/functionalities/breakpoint/default_source_file/main.cpp
+9-0lldb/test/API/functionalities/breakpoint/default_source_file/other.cpp
+6-0lldb/source/Core/SourceManager.cpp
+3-0lldb/test/API/functionalities/breakpoint/default_source_file/Makefile
+55-05 files

LLVM/project 88a3488libc/src/__support/CPP string.h, libc/src/__support/OSUtil CMakeLists.txt

[libc][realpath] Implement symbolic path resolution (#204467)

This PR contains an incremental implementation of `realpath` that just
simplifies path traversals (e.g. `"/a/./../b"` -> `"/b"`). The complete
implementation would perform `getcwd`/`statx`/`readlinkat` to actually
resolve symlinks, validate paths, etc. This PR aims to add as much
functionality/error handling as possible without making any syscalls.

This implementation lives in `libc/src/stdlib/linux/`, since follow-on
PRs will rely on linux-specific syscalls. For testing purposes, I've
added the entrypoint for x86-64 linux when
`LLVM_LIBC_ENABLE_EXPERIMENTAL_ENTRYPOINTS` is enabled.

Follow-on PRs to add: path validation (e.g.
paths must exist), support for cwd-relative paths, and symlink
resolution.
DeltaFile
+201-0libc/src/stdlib/linux/realpath.cpp
+111-0libc/test/src/stdlib/realpath_test.cpp
+37-9libc/src/__support/CPP/string.h
+45-0libc/src/__support/OSUtil/linux/path.h
+28-1libc/test/src/__support/CPP/string_test.cpp
+19-10libc/src/__support/OSUtil/CMakeLists.txt
+441-2011 files not shown
+561-2417 files

LLVM/project 4ce874eclang/lib/Sema SemaOverload.cpp, clang/test/AST/HLSL resources-in-structs-method-call.hlsl ConstantBuffers-AST.hlsl

[HLSL] Enable invoking a method on a constant buffer struct (#206596)

Structs in constant buffers are in the `hlsl_constant` address space and
in a specific constant buffer layout. In order to invoke a method on
such struct, it first needs to be copied out into const temporary
variable with a standard layout. This change adds `LValueToRValue` cast
to the method `this` argument which takes care of that.

Fixes #190299
DeltaFile
+85-0clang/test/CodeGenHLSL/resources/resources-in-structs-method-call.hlsl
+36-0clang/test/AST/HLSL/resources-in-structs-method-call.hlsl
+14-1clang/test/AST/HLSL/ConstantBuffers-AST.hlsl
+8-0clang/lib/Sema/SemaOverload.cpp
+1-5clang/test/SemaHLSL/BuiltIns/ConstantBuffer-member-funcs.hlsl
+144-65 files

LLVM/project 2fbd63dclang/include/clang/ScalableStaticAnalysis/SourceTransformation TransformationReportFormatRegistry.h TransformationReport.h, clang/lib/ScalableStaticAnalysis/SourceTransformation SARIFTransformationReportFormat.cpp TransformationReportFormatRegistry.cpp

[SSAF][clang-reforge] Transformation report

Add transforamtion report data structure and its' SARIF format
implementation.

rdar://179150820
DeltaFile
+452-0clang/unittests/ScalableStaticAnalysis/SourceTransformation/SARIFFormatTest.cpp
+138-0clang/unittests/ScalableStaticAnalysis/SourceTransformation/RegistryTest.cpp
+129-0clang/lib/ScalableStaticAnalysis/SourceTransformation/SARIFTransformationReportFormat.cpp
+62-0clang/include/clang/ScalableStaticAnalysis/SourceTransformation/TransformationReportFormatRegistry.h
+36-0clang/include/clang/ScalableStaticAnalysis/SourceTransformation/TransformationReport.h
+36-0clang/lib/ScalableStaticAnalysis/SourceTransformation/TransformationReportFormatRegistry.cpp
+853-04 files not shown
+884-010 files

LLVM/project 8dbd1cblldb/test/API/lang/c/inlines main.c

[lldb][test] Use a valid main signature in the inlines test (#207093)

lang/c/inlines/main.c declared "int main(int argc)", a single-int-
parameter main that clang warns about (-Wmain) and that argc is never
used for. Declare it as "int main()".
DeltaFile
+1-1lldb/test/API/lang/c/inlines/main.c
+1-11 files

LLVM/project 04cf6e0lldb/source/Target RegisterContextUnwind.cpp, lldb/test/API/functionalities/unwind/outlined-functions outlined-functions.s TestBacktraceThroughOutlinedFunction.py

[lldb] Don't trust unwind information for outlined functions (#204500)

clang/llvm has a feature to take identical sequences of instructions
from multiple functions, put them in a separate utility function, and
call that utility function, reducing overall codesize. Primarly useful
in memory constrained environments.

The CFI unwind instructions for these OUTLINED_FUNCTIONs in
eh_frame/debug_frame is entirely incorrect; clang does not emit any
directives for them.

Furthermore, the callers sometimes call the OUTLINED_FUNCTION in a
non-ABI call manner. For instance, if the last few instructions of a
function (including the epilogue) are put in an OUTLINED_FUNCTION, a
function will simply tail-call/jump to the outlined function.

If a function prologue is separated into an OUTLINED_FUNCTION, a non ABI
call to preserve the return-address-register may be used, e.g. on RISCV
a `jal t0, OUTLINED_FUNCTION_nn` may be used, putting the return address

    [36 lines not shown]
DeltaFile
+121-0lldb/test/API/functionalities/unwind/outlined-functions/outlined-functions.s
+110-0lldb/test/API/functionalities/unwind/outlined-functions/TestBacktraceThroughOutlinedFunction.py
+98-0lldb/test/API/functionalities/unwind/outlined-functions/arm64-outlined-epilogue-core.yaml
+59-0lldb/test/API/functionalities/unwind/outlined-functions/binary.json
+36-0lldb/source/Target/RegisterContextUnwind.cpp
+25-0lldb/test/API/functionalities/unwind/outlined-functions/main.c
+449-01 files not shown
+462-07 files

LLVM/project 459ed2blibc/shared builtins.h, libc/shared/builtins addsf3.h

[libc] add shared addsf3 builtin (#205676)

Re-exposes LLVM-libc's `__addsf3` as `shared::addsf3` for reuse by
compiler-rt's builtins.

Stacked change - merge these first:
- #200094
- #205669
- #205670
- #205671
- #205672
- #205673
- #205674
- #205675

Part of #197824
DeltaFile
+32-0libc/src/__support/builtins/addsf3.h
+29-0libc/shared/builtins/addsf3.h
+9-0libc/src/__support/builtins/CMakeLists.txt
+1-1libc/test/shared/shared_builtins_test.cpp
+1-0libc/shared/builtins.h
+1-0libc/test/shared/CMakeLists.txt
+73-16 files

LLVM/project 22ad1d6clang-tools-extra/clangd/support Markup.cpp Markup.h, clang-tools-extra/clangd/unittests HoverTests.cpp SymbolDocumentationTests.cpp

[clangd] Use plaintext newline handling for escaped markdown hover style (#185197)

For clangd 22 there are [3 new
options](https://clangd.llvm.org/config#documentation) to control the
content of the hover information. Using the default Plaintext option,
Markdown syntax is escaped.
But whitespaces (like newlines etc.) are not "escaped" anymore as it was
before the introduction of Markdown and Doxygen rendering.

Some clients do not render Markdown even if they request Markdown
content from the server.
At least the [neovim client](https://github.com/clangd/clangd/issues/95)
does not render Markdown whitespace correctly.
Therefore, with clangd 22, the rendering for these clients looks
different, especially for newlines.
Without the escaping, newlines are rendered as written in the
documentation comment, which is not desired for these clients.

This patch fixes the regression by using the same whitespace escaping as
clangd < 22.
DeltaFile
+25-6clang-tools-extra/clangd/support/Markup.cpp
+14-14clang-tools-extra/clangd/unittests/HoverTests.cpp
+12-13clang-tools-extra/clangd/unittests/support/MarkupTests.cpp
+13-5clang-tools-extra/clangd/support/Markup.h
+4-7clang-tools-extra/clangd/unittests/SymbolDocumentationTests.cpp
+68-455 files

LLVM/project 18050ddllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-bitcast-paired.ll

[RISCV][P-ext] Tighten checks for what scalar<->vector bitcasts are legal (#207038)

We were incorrectly treating i64<->vector casts as legal on RV32. This
only shows up when the D extension is enabled because it marks i64
bitcast as custom for i64<->f64 conversions.

Rewrite the checks in terms of XLenVT.
DeltaFile
+6-10llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+3-0llvm/test/CodeGen/RISCV/rvp-bitcast-paired.ll
+9-102 files

LLVM/project acbe933lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h

[lldb] Remember server's primary stop thread on gdb-remote stops (#207020)

This is a reland of https://github.com/llvm/llvm-project/pull/203525,
which was reverted because it introduced a test failure on macOS. The
primary thread was unconditionally selected, which was causing
`TestRealDefinition.py` to fail. The fix is to only call
SetSelectedThreadByID when the server's primary tid differs from the
currently-selected thread.

---

The client kept the previously-selected thread across stops, ignoring
the primary tid from the server in `T<sig>thread:<tid>`.
On Windows, lldb-server halts the inferior by injecting a thread called
`DbgUiRemoteBreakin` whose only job is to execute an int 3. After an
interrupt, the process has `N+1` threads and the new one is what caused
the stop. The server reports that thread as primary, but the client
ignored it and stayed on whichever thread was selected before. In
`TestExpressionInSyscall` that thread is main, paused just past

    [9 lines not shown]
DeltaFile
+12-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+3-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+15-02 files

LLVM/project 6407e80llvm/include/llvm/CodeGenTypes MachineValueType.h, llvm/lib/Target/X86 X86ISelLowering.cpp

Implemented MVT::changeElementType based on EVT::changeElementType (#206783)

Implemented MVT::changeElementType based on EVT::changeElementType

Fixes #206726
DeltaFile
+9-9llvm/lib/Target/X86/X86ISelLowering.cpp
+7-0llvm/include/llvm/CodeGenTypes/MachineValueType.h
+16-92 files

LLVM/project f74953bcompiler-rt/lib/fuzzer FuzzerIO.cpp

[libfuzzer] Improve error message for file not found (#207081)

We're seeing many instances of this issue on ClusterFuzz. This PR adds
more information to help debug the cause of the problem.

See https://crbug.com/529865766 for more context.
DeltaFile
+4-2compiler-rt/lib/fuzzer/FuzzerIO.cpp
+4-21 files

LLVM/project 8286c65clang/lib/Sema SemaTemplate.cpp, clang/test/SemaTemplate member-specialization.cpp

[clang] fix error recovery for invalid member specializations (#207068)

Recover from invalid member specializations as if it wasn't declared.

This undoes the change introduced in #201506 for a more robust approach
which keeps the AST valid.

There are no release notes since this fixes a regression which was never
released.

Fixes #201490
Fixes #205971
DeltaFile
+7-8clang/lib/Sema/SemaTemplate.cpp
+14-1clang/test/SemaTemplate/member-specialization.cpp
+21-92 files

LLVM/project 55e4406lldb/source/DataFormatters ValueObjectPrinter.cpp, lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr TestDataFormatterStdSharedPtr.py

[lldb] Remove extra newline from ValueObject errors (#207050)

Change `ValueObjectPrinter` to print only a single newlines after errors.
DeltaFile
+2-1lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py
+2-1lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py
+1-1lldb/source/DataFormatters/ValueObjectPrinter.cpp
+5-33 files

LLVM/project 0ec217allvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Return widening kind from memoryInstructionCanBeWidened (NFC). (#207056)

Make memoryInstructionCanBeWidened return the InstWidening decision
(CM_Widen or CM_Widen_Reverse) as a std::optional instead of a bool.

This avoids computing and checking for consecutive strides multiple
times.
DeltaFile
+25-29llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+25-291 files

LLVM/project ed71184llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/lib/Target/AArch64/Disassembler AArch64Disassembler.cpp

fixup! Adjust after PR comments
DeltaFile
+18-14llvm/test/MC/AArch64/hinte.s
+0-9llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+1-7llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+0-7llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
+0-7llvm/test/MC/AArch64/Inputs/hinte-generic-sysreg.s
+0-1llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+19-456 files

LLVM/project 08aee5elibcxx/test/std/containers/associative/set count_transparent.pass.cpp contains_transparent.pass.cpp, libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops remove.pass.cpp

[NFC][libc++] Fix formatting for `<set>` tests (#207080)
DeltaFile
+2-1libcxx/test/std/containers/associative/set/count_transparent.pass.cpp
+2-1libcxx/test/std/containers/associative/set/contains_transparent.pass.cpp
+1-1libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp
+1-0libcxx/test/std/containers/associative/set/emplace.pass.cpp
+1-0libcxx/test/std/containers/associative/set/emplace_hint.pass.cpp
+1-0libcxx/test/std/containers/associative/set/empty.pass.cpp
+8-358 files not shown
+66-364 files

LLVM/project c3d0465libcxx/include/__algorithm lower_bound.h set_intersection.h

[libc++] Remove projection from __lower_bound_onesided (#206676)

The projection argument isn't made use of very much, since it's only
ever called with an identity. We can remove it to simplify the code a
bit.
DeltaFile
+5-4libcxx/include/__algorithm/lower_bound.h
+2-5libcxx/include/__algorithm/set_intersection.h
+7-92 files