Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

jloser (Joe Loser)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 12 2018, 3:20 PM (290 w, 1 d)

Recent Activity

Jul 23 2023

jloser accepted D156052: [libc++][doc] Improves contribution page..

So happy to see this finally get written up. I appreciate you doing this! This will be very helpful for new contributors.

Jul 23 2023, 7:02 AM · Restricted Project, Restricted Project
jloser accepted D156051: [libc++] Renames nasty_macro test..

Much better name! Thanks.

Jul 23 2023, 6:58 AM · Restricted Project, Restricted Project

Jul 15 2023

jloser accepted D154874: [libc++][doc] Updates the release notes..

Looks good - just left a comment on a minor typo. Thanks!

Jul 15 2023, 8:44 PM · Restricted Project, Restricted Project

Jun 15 2023

jloser added a comment to D153073: [LLDB] Add DWARF definitions for the new Mojo language.

Excited to see this come together!

Jun 15 2023, 2:03 PM · Restricted Project, Restricted Project, Restricted Project

Jun 4 2023

jloser accepted D152099: [libc++] Removes CMake work-arounds..
Jun 4 2023, 9:26 PM · Restricted Project, Restricted Project

May 18 2023

jloser accepted D150795: [libc++] Updates C++2b to C++23..
May 18 2023, 12:26 PM · Restricted Project, Restricted Project

May 4 2023

jloser added inline comments to D149706: [libc++][PSTL] Implement std::copy{,_n}.
May 4 2023, 6:18 PM · Restricted Project, Restricted Project
jloser accepted D149854: [llvm][ADT] Fix compilation of headers under C++23.
May 4 2023, 6:14 PM · Restricted Project, Restricted Project

Apr 21 2023

jloser accepted D148953: [llvm][ADT] Fix Any linker error with multiple compilers.

Thanks for the quick fix from the discussion on the issue today.

Apr 21 2023, 12:54 PM · Restricted Project, Restricted Project

Apr 18 2023

jloser accepted D148632: [libc++] Add helper script libcxx-lit for running tests.

Thanks for adding this for others. This is the same script I use locally as well that I got from you ages ago.

Apr 18 2023, 7:09 AM · Restricted Project, Restricted Project

Apr 3 2023

jloser accepted D147473: [libc++] Remove the synopses.

Big +1 from me. Thanks for doing this.

Apr 3 2023, 9:30 PM · Restricted Project, Restricted Project

Mar 29 2023

jloser added inline comments to D147089: [libc++] Add assertions for potential OOB reads in std::sort.
Mar 29 2023, 7:50 AM · Restricted Project, Restricted Project

Mar 20 2023

jloser resigned from D115607: [libc++] [ranges] Improve ranges::{begin,end,cbegin,cend,data,empty,size,ssize}.
Mar 20 2023, 7:42 PM · Restricted Project, Restricted Project
jloser resigned from D114912: [libc++] [P1614] Hidden-friend operator<=> for string_view..
Mar 20 2023, 7:42 PM · Restricted Project, Restricted Project

Feb 21 2023

jloser added inline comments to D141699: [libc++][ranges] Implement P2474R2(`views::repeat`)..
Feb 21 2023, 8:31 PM · Restricted Project, Restricted Project
jloser updated subscribers of D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

I can't speak to the correctness of the implementation of findModulesAndOffsets here, but I'd love to see this make progress.

Feb 21 2023, 8:25 AM · Restricted Project, Restricted Project

Feb 16 2023

jloser committed rG83014d877017: [libc++] LWG 3857: allow `string_view` conversion when only traits vary (authored by jloser).
[libc++] LWG 3857: allow `string_view` conversion when only traits vary
Feb 16 2023, 5:01 AM · Restricted Project, Restricted Project
jloser closed D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.
Feb 16 2023, 5:01 AM · Restricted Project, Restricted Project

Feb 15 2023

jloser updated the diff for D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

Rebase and mark the paper status as completed

Feb 15 2023, 7:38 PM · Restricted Project, Restricted Project

Feb 14 2023

jloser updated the diff for D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

Rebase since the clang-format requirement patch landed

Feb 14 2023, 9:02 AM · Restricted Project, Restricted Project
jloser added a comment to D143975: [libcxx] Don't trigger -Wuser-defined-literals for headers in build.

#libc is blocking this patch to make sure it's approved by the people working on libc++.

Thanks!

CMake
    target_add_compile_flags_if_supported(${target} PRIVATE
      -Wno-user-defined-literals
      )

It seems that this code does not work correctly. I think we can modify it to suppress the warning in the building stage.

Feb 14 2023, 8:37 AM · Restricted Project, Restricted Project
jloser updated the diff for D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

Remove unnecessary constexpr_char_traits.h include

Feb 14 2023, 7:51 AM · Restricted Project, Restricted Project
jloser added a comment to D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

@Mordante do you want me to wait until you land https://reviews.llvm.org/D143845? Or, you can just feel free to mark LWG 3857 as Completed in LLVM 17.0.0 if I land this first — whatever you prefer.

Feb 14 2023, 7:31 AM · Restricted Project, Restricted Project
jloser added inline comments to D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.
Feb 14 2023, 7:29 AM · Restricted Project, Restricted Project
jloser updated the diff for D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

Drop the static_assert tests that verified traits_type mismatches as they are no longer relevant

Feb 14 2023, 7:29 AM · Restricted Project, Restricted Project

Feb 13 2023

jloser added inline comments to D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.
Feb 13 2023, 7:24 PM · Restricted Project, Restricted Project
jloser updated the diff for D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.

Undo extra clang-format in from_range.pass.cpp

Feb 13 2023, 7:23 PM · Restricted Project, Restricted Project
jloser requested review of D143972: [libc++] LWG 3857: allow `string_view` conversion when only traits vary.
Feb 13 2023, 7:17 PM · Restricted Project, Restricted Project
jloser added inline comments to D143962: [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x.
Feb 13 2023, 4:35 PM · Restricted Project, Restricted Project

Feb 6 2023

jloser added a comment to D143452: [libc++] Implement LWG3657 std::hash<filesystem::path>.

Seems reasonable to me. We should close https://reviews.llvm.org/D125394 when/if we land your review here.

Feb 6 2023, 7:27 PM · Restricted Project, Restricted Project

Feb 5 2023

jloser added a comment to D143007: [libc++][CI] Uses LLVM 17 in Docker..

Thanks for the reviews!

Is LLVM_HEAD_VERSION=17 going to work yet?

I don't think so based on looking at the code:

declare -A LLVM_VERSION_PATTERNS
LLVM_VERSION_PATTERNS[9]="-9"
LLVM_VERSION_PATTERNS[10]="-10"
LLVM_VERSION_PATTERNS[11]="-11"
LLVM_VERSION_PATTERNS[12]="-12"
LLVM_VERSION_PATTERNS[13]="-13"
LLVM_VERSION_PATTERNS[14]="-14"
LLVM_VERSION_PATTERNS[15]="-15"
LLVM_VERSION_PATTERNS[16]="-16"
LLVM_VERSION_PATTERNS[17]=""

if [ ! ${LLVM_VERSION_PATTERNS[$LLVM_VERSION]+_} ]; then
    echo "This script does not support LLVM version $LLVM_VERSION"
    exit 3
fi

since LLVM_VERSION_PATTERNS[17] is an empty string.

AFAIK That part of the code is to make sure lines like

deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-15 main
deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main

work properly in sources.list files in Debian/Ubuntu. Note the the ToT version has no version suffix.

I have tested the Docker file locally with several Clang versions, including 17, before I created this review.

There is one fix queued to be backported to the LLVM-16 after that has landed I'll land this and upload a new Docker image.
(Without that fix the LLVM-16 branch modular build will fail.)

Feb 5 2023, 6:28 AM · Restricted Project, Restricted Project

Feb 3 2023

jloser added a comment to D143007: [libc++][CI] Uses LLVM 17 in Docker..

Is LLVM_HEAD_VERSION=17 going to work yet?

Feb 3 2023, 6:28 PM · Restricted Project, Restricted Project
jloser accepted D143299: [libc++] Reorganize exception_guard.

LGTM!

Feb 3 2023, 6:24 PM · Restricted Project, Restricted Project
jloser committed rG8998fa6c14f1: [clang] Change AMX macros to match names from GCC (authored by jloser).
[clang] Change AMX macros to match names from GCC
Feb 3 2023, 6:01 AM · Restricted Project, Restricted Project
jloser closed D143094: [clang] Change AMX macros to match names from GCC.
Feb 3 2023, 6:00 AM · Restricted Project, Restricted Project

Feb 2 2023

jloser added a comment to D143094: [clang] Change AMX macros to match names from GCC.

LGTM, thanks

Feb 2 2023, 7:09 AM · Restricted Project, Restricted Project

Feb 1 2023

jloser updated the summary of D143094: [clang] Change AMX macros to match names from GCC.
Feb 1 2023, 10:36 AM · Restricted Project, Restricted Project
jloser updated the diff for D143094: [clang] Change AMX macros to match names from GCC.

Update commit message to properly display the #define

Feb 1 2023, 10:35 AM · Restricted Project, Restricted Project
jloser requested review of D143094: [clang] Change AMX macros to match names from GCC.
Feb 1 2023, 10:34 AM · Restricted Project, Restricted Project

Jan 26 2023

jloser added a comment to D142566: [libc++] Add documentation for reproducing CI issues locally.

Thanks for writing this up for others' benefit! I remember when you first showed me this a long time ago, I was really thankful for helping track down a CI failure.

Jan 26 2023, 4:36 PM · Restricted Project, Restricted Project

Jan 17 2023

jloser committed rGc4b39cd09c4e: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated (authored by jloser).
[llvm][ADT] Mark `makeMutableArrayRef` as deprecated
Jan 17 2023, 12:01 PM · Restricted Project, Restricted Project
jloser closed D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated.
Jan 17 2023, 12:01 PM · Restricted Project, Restricted Project
jloser added inline comments to D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated.
Jan 17 2023, 10:38 AM · Restricted Project, Restricted Project
jloser updated the diff for D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated.

Update LLVM_DEPRECATED messages to use MutableArrayRef

Jan 17 2023, 10:38 AM · Restricted Project, Restricted Project

Jan 16 2023

jloser added inline comments to D133713: [Support] Introduce ThreadSafeAllocator.
Jan 16 2023, 2:04 PM · Restricted Project, Restricted Project
jloser requested review of D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated.
Jan 16 2023, 1:55 PM · Restricted Project, Restricted Project
jloser added inline comments to D141814: [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides.
Jan 16 2023, 1:51 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
jloser committed rGa288d7f93770: [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides (authored by jloser).
[llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides
Jan 16 2023, 1:51 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
jloser closed D141814: [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides.
Jan 16 2023, 1:51 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jan 15 2023

jloser requested review of D141814: [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides.
Jan 15 2023, 8:50 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jan 10 2023

jloser added a comment to D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

I landed this as the CI failures are unrelated

Jan 10 2023, 4:16 PM · Restricted Project, Restricted Project
jloser committed rGcf9ee8791e8b: [libc++][test] Move `common_input_iterator` to `test_iterators.h` (authored by jloser).
[libc++][test] Move `common_input_iterator` to `test_iterators.h`
Jan 10 2023, 4:16 PM · Restricted Project, Restricted Project
jloser closed D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.
Jan 10 2023, 4:16 PM · Restricted Project, Restricted Project
jloser committed rG76b468805c78: [libc++][utils] Remove unused import in `run.py` (authored by jloser).
[libc++][utils] Remove unused import in `run.py`
Jan 10 2023, 12:08 PM · Restricted Project, Restricted Project
jloser closed D141331: [libc++][utils] Remove unused import in `run.py`.
Jan 10 2023, 12:08 PM · Restricted Project, Restricted Project
jloser committed rG07a341c2e4d9: [libc++] Remove warning for `LIBCXX_SYSROOT`, `LIBCXX_TARGET_TRIPLE`, and… (authored by jloser).
[libc++] Remove warning for `LIBCXX_SYSROOT`, `LIBCXX_TARGET_TRIPLE`, and…
Jan 10 2023, 12:07 PM · Restricted Project, Restricted Project
jloser closed D141345: [libc++] Remove warning for `LIBCXX_SYSROOT`, `LIBCXX_TARGET_TRIPLE`, and `LIBCXX_GCC_TOOLCHAIN`.
Jan 10 2023, 12:07 PM · Restricted Project, Restricted Project
jloser committed rG38791259c116: [llvm][ADT] Add deduction guides for `MutableArrayRef` (authored by jloser).
[llvm][ADT] Add deduction guides for `MutableArrayRef`
Jan 10 2023, 12:06 PM · Restricted Project, Restricted Project
jloser closed D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.
Jan 10 2023, 12:05 PM · Restricted Project, Restricted Project
jloser added a comment to D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.

I'd be OK with the testing just being the static_asserts without the rest of the testing (since that's all the deduction guide do - specifies what type to use, then the usual ctor rules kick in - and those ctors are already tested elsewhere) - but this is OK too, if you prefer it.

Jan 10 2023, 9:56 AM · Restricted Project, Restricted Project
jloser updated the diff for D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

Rebase in quest for the green CI

Jan 10 2023, 9:55 AM · Restricted Project, Restricted Project
jloser added inline comments to D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.
Jan 10 2023, 5:56 AM · Restricted Project, Restricted Project
jloser updated the diff for D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.

Remove deduction guide from MutableArrayRef: it's not needed. Add a test from both const and non-const MutableArrayRef to show there's no issues, or ambiguous deduction guides like before.

Jan 10 2023, 5:54 AM · Restricted Project, Restricted Project

Jan 9 2023

jloser added a comment to D141345: [libc++] Remove warning for `LIBCXX_SYSROOT`, `LIBCXX_TARGET_TRIPLE`, and `LIBCXX_GCC_TOOLCHAIN`.

LGTM, but let's see if anybody else has any comments. We should definitely get better at working through the TODO LLVM <version>s.

Jan 9 2023, 8:10 PM · Restricted Project, Restricted Project
jloser added a comment to D141334: [libc++][test] Silence allocator conversion warnings.

Thanks for the fix! LGTM FWIW.

Jan 9 2023, 7:32 PM · Restricted Project, Restricted Project
jloser requested review of D141345: [libc++] Remove warning for `LIBCXX_SYSROOT`, `LIBCXX_TARGET_TRIPLE`, and `LIBCXX_GCC_TOOLCHAIN`.
Jan 9 2023, 7:16 PM · Restricted Project, Restricted Project
jloser added a comment to D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.

Test coverage might be nice - some static asserts about the type that's deduced is probably sufficient (static_assert(std::is_same_v<MutableArrayRef<int, 3>, MutableArrayRef(std::declval<int[3]>())>) or something like that for each deduction guide)?

Jan 9 2023, 5:57 PM · Restricted Project, Restricted Project
jloser updated the diff for D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.

Add tests for deduction guides and runtime behavior

Jan 9 2023, 5:56 PM · Restricted Project, Restricted Project
jloser requested review of D141331: [libc++][utils] Remove unused import in `run.py`.
Jan 9 2023, 3:52 PM · Restricted Project, Restricted Project
jloser added a comment to D140280: [llvm] Fix APInt to work in C++20 mode.

Is there a way to write this in a more portable fashion?

(if the uint64_t on nthe RHS versions were non-members, would that help?)

Jan 9 2023, 3:44 PM · Restricted Project, Restricted Project
jloser updated the diff for D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.

Add [llvm] to title

Jan 9 2023, 2:41 PM · Restricted Project, Restricted Project
jloser requested review of D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`.
Jan 9 2023, 2:40 PM · Restricted Project, Restricted Project
jloser accepted D141304: [libc++][doc] Updates the release notes..

LGTM, but I haven't been following as closely this release, so there may be other things I didn't notice in the updated release notes.

Jan 9 2023, 10:38 AM · Restricted Project, Restricted Project
jloser added inline comments to D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.
Jan 9 2023, 7:54 AM · Restricted Project, Restricted Project
jloser updated the diff for D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

Use decltype(auto) in operator* in case the base type is const qualified

Jan 9 2023, 7:54 AM · Restricted Project, Restricted Project
jloser updated subscribers of D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.
Jan 9 2023, 7:48 AM · Restricted Project, Restricted Project
jloser updated the diff for D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

Rebase

Jan 9 2023, 7:47 AM · Restricted Project, Restricted Project
jloser committed rG835cf3ca6bee: [libc++][test] Fix missing include in `bit_ceil.fail.cpp` (authored by jloser).
[libc++][test] Fix missing include in `bit_ceil.fail.cpp`
Jan 9 2023, 7:33 AM · Restricted Project, Restricted Project
jloser closed D141284: [libc++][test] Fix missing include in `bit_ceil.fail.cpp`.
Jan 9 2023, 7:33 AM · Restricted Project, Restricted Project
jloser added a comment to D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

@philnik mind if I land this? CI isn't green yet due to unrelated issues.

Jan 9 2023, 7:16 AM · Restricted Project, Restricted Project
jloser requested review of D141284: [libc++][test] Fix missing include in `bit_ceil.fail.cpp`.
Jan 9 2023, 7:14 AM · Restricted Project, Restricted Project
jloser added inline comments to D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.
Jan 9 2023, 6:36 AM · Restricted Project, Restricted Project
jloser updated the diff for D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.

Rebase and use >= 20 instead of > 17

Jan 9 2023, 6:34 AM · Restricted Project, Restricted Project
jloser added a comment to D141239: [libc++][test] Fix missing include in `endian.pass.cpp`.

I've landed this for you, since this fixes the trunk CI.

Jan 9 2023, 6:17 AM · Restricted Project, Restricted Project

Jan 8 2023

jloser requested review of D141239: [libc++][test] Fix missing include in `endian.pass.cpp`.
Jan 8 2023, 2:14 PM · Restricted Project, Restricted Project
jloser requested review of D141238: [libc++][test] Move `common_input_iterator` to `test_iterators.h`.
Jan 8 2023, 2:12 PM · Restricted Project, Restricted Project

Dec 20 2022

jloser added a comment to D139973: [llvm] Make llvm::Any similar to std::any.

Sorry for the delay here; this patch LGTM! Thanks.

Dec 20 2022, 11:20 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 18 2022

jloser updated the diff for D140280: [llvm] Fix APInt to work in C++20 mode.

Prettify commit message formatting

Dec 18 2022, 8:21 PM · Restricted Project, Restricted Project
jloser requested review of D140280: [llvm] Fix APInt to work in C++20 mode.
Dec 18 2022, 8:20 PM · Restricted Project, Restricted Project
jloser requested review of D140276: [llvm] Remove unused import in `LitConfig.py`.
Dec 18 2022, 2:43 PM · Restricted Project, Restricted Project

Dec 17 2022

jloser added a comment to D139973: [llvm] Make llvm::Any similar to std::any.

I'm +1 for the direction here; I took a brief look but will look closely either later tonight or tomorrow before I approve. Thanks for doing this!

Dec 17 2022, 10:29 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
jloser accepted D139974: [llvm][ADT] Fix Any with msvc and lto.

LGTM with just removing the const. Please add a comment though as we don't have an existing regression test to show this (i.e. prevent someone from adding const back IIUC).

Dec 17 2022, 10:28 AM · Restricted Project, Restricted Project

Dec 8 2022

jloser closed D131847: Draft: [llvm] Replace uses of llvm::Any with std::any.
Dec 8 2022, 7:19 AM · Restricted Project, Restricted Project
jloser added a comment to D131847: Draft: [llvm] Replace uses of llvm::Any with std::any.

I put up D139532, which includes the work done here and finishes it (also replaces any_cast with std::any_cast, compiles and passes llvm and clang tests).

Dec 8 2022, 7:18 AM · Restricted Project, Restricted Project

Dec 5 2022

jloser added inline comments to D139189: [libc++] Granularize <type_traits> includes in <concepts>.
Dec 5 2022, 9:59 AM · Restricted Project, Restricted Project

Dec 3 2022

jloser committed rG1d650d4f1dd3: [MLIR] Fix typo in `add_mlir_library` docs. NFC. (authored by jloser).
[MLIR] Fix typo in `add_mlir_library` docs. NFC.
Dec 3 2022, 6:30 PM · Restricted Project, Restricted Project
jloser closed D139265: [MLIR] Fix typo in `add_mlir_library` docs. NFC..
Dec 3 2022, 6:30 PM · Restricted Project, Restricted Project
jloser requested review of D139265: [MLIR] Fix typo in `add_mlir_library` docs. NFC..
Dec 3 2022, 6:28 PM · Restricted Project, Restricted Project
jloser committed rG5d3c972a3565: [MLIR] Use `if constexpr` in `StorageUniquer` and `IR/AffineExpr` (authored by jloser).
[MLIR] Use `if constexpr` in `StorageUniquer` and `IR/AffineExpr`
Dec 3 2022, 6:08 PM · Restricted Project, Restricted Project
jloser closed D139264: [MLIR] Use `if constexpr` in `StorageUniquer` and `IR/AffineExpr`.
Dec 3 2022, 6:08 PM · Restricted Project, Restricted Project