Page MenuHomePhabricator

urnathan (Nathan Sidwell)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 6 2021, 8:14 AM (101 w, 6 d)

Recent Activity

Nov 21 2022

urnathan committed rGeff9d72b9b63: [clang] NFC: Robustify sret test regex (authored by urnathan).
[clang] NFC: Robustify sret test regex
Nov 21 2022, 11:21 AM · Restricted Project, Restricted Project
urnathan closed D137941: [clang] NFC: Robustify test regex.
Nov 21 2022, 11:20 AM · Restricted Project, Restricted Project
urnathan updated the diff for D137941: [clang] NFC: Robustify test regex.

Ah, it didn't occur to me that grep was a sign of old test harness. Here's a FileCheckified version. I took the opportunity to combine the two testcases, as there didn't seem a need to keep them separate any more.

Nov 21 2022, 7:55 AM · Restricted Project, Restricted Project

Nov 16 2022

urnathan added a comment to D138091: [Clang] Fix Sema::ClassifyName so that it classifies EnumConstantDecl as NonType when they are brought into scope via using enum.

Thanks, I didn;'t know about ClassifyName, and obviously never hit a need to adjust it. Thanks for fixing.

Nov 16 2022, 3:54 AM · Restricted Project, Restricted Project, Restricted Project

Nov 14 2022

urnathan requested review of D137941: [clang] NFC: Robustify test regex.
Nov 14 2022, 6:01 AM · Restricted Project, Restricted Project

Oct 20 2022

urnathan committed rGc7ca21436d62: libcxxabi [PR58117][NFC]: Open code lower bound (authored by urnathan).
libcxxabi [PR58117][NFC]: Open code lower bound
Oct 20 2022, 6:11 AM · Restricted Project, Restricted Project
urnathan closed D135799: libcxxabi [PR58117][NFC]: Open code lower bound.
Oct 20 2022, 6:11 AM · Restricted Project, Restricted Project, Restricted Project
urnathan added a comment to D135799: libcxxabi [PR58117][NFC]: Open code lower bound.

I think it would actually be better to define #define _LIBCPP_ENABLE_ASSERTIONS 0 at the top of the file. That way, we (1) retain the ability to use std algorithms, and we don't risk someone else breaking this in the future. WDYT?

I thought you disliked that solution -- have you changed your mind? (the define would work for me too)

Oct 20 2022, 4:26 AM · Restricted Project, Restricted Project, Restricted Project

Oct 17 2022

urnathan added a comment to D134589: [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers..

It occurs to me that for systems that lack dynamic initialization (like PTX), it is trivial to implement the 'don't call NOP module inits', because we know that there can be no non-nop inits. Any code emission that tries to create a global init fn with contents will fail to compile.

Oct 17 2022, 2:11 PM · Restricted Project, Restricted Project
urnathan committed rG245da0a451e1: [modules] Fix callback argument thinko (authored by urnathan).
[modules] Fix callback argument thinko
Oct 17 2022, 9:31 AM · Restricted Project, Restricted Project
urnathan closed D135958: [clang] modules: Fix callback argument thinko.
Oct 17 2022, 9:31 AM · Restricted Project, Restricted Project
urnathan committed rGd3b10150b683: [demangler] Simplify OutputBuffer initialization (authored by urnathan).
[demangler] Simplify OutputBuffer initialization
Oct 17 2022, 4:35 AM · Restricted Project, Restricted Project
urnathan closed D122604: [demangler] Simplify OutputBuffer initialization.
Oct 17 2022, 4:35 AM · Restricted Project, Restricted Project, Restricted Project

Oct 14 2022

urnathan requested review of D135958: [clang] modules: Fix callback argument thinko.
Oct 14 2022, 5:44 AM · Restricted Project, Restricted Project

Oct 13 2022

urnathan added a comment to D135799: libcxxabi [PR58117][NFC]: Open code lower bound.

I think it would actually be better to define #define _LIBCPP_ENABLE_ASSERTIONS 0 at the top of the file. That way, we (1) retain the ability to use std algorithms, and we don't risk someone else breaking this in the future. WDYT?

Oct 13 2022, 5:26 AM · Restricted Project, Restricted Project, Restricted Project

Oct 12 2022

urnathan requested review of D135799: libcxxabi [PR58117][NFC]: Open code lower bound.
Oct 12 2022, 11:05 AM · Restricted Project, Restricted Project, Restricted Project
urnathan committed rG702d937f1e1d: [libcxxabi]: Resync llvm & libcxxabi's demangler (authored by urnathan).
[libcxxabi]: Resync llvm & libcxxabi's demangler
Oct 12 2022, 10:14 AM · Restricted Project, Restricted Project
urnathan closed D135446: [libcxxabi] Resync llvm & libcxxabi's demangler.
Oct 12 2022, 10:13 AM · Restricted Project, Restricted Project, Restricted Project
urnathan added a comment to D135446: [libcxxabi] Resync llvm & libcxxabi's demangler.

@urnathan, sorry, we didn't notice that https://reviews.llvm.org/D130909 introduces divergence. @steffenlarsen, @jcranmer-intel, FYI.
Regarding dropping LLVM_ prefix from header guards, it looks like these were removed with some automatic tool (https://github.com/intel/llvm/commit/c13a09a462807936f9eb17cc64f53ad7c9e8ddec), so I would expect someone else will run the tool again and add them back. Any ideas how to prevent this type of changes in the future? Maybe we can keep LLVM_ prefix for sources in llvm/ directory and just ignore this difference. What do you think?

Oct 12 2022, 9:37 AM · Restricted Project, Restricted Project, Restricted Project

Oct 11 2022

urnathan updated the summary of D135446: [libcxxabi] Resync llvm & libcxxabi's demangler.
Oct 11 2022, 6:16 AM · Restricted Project, Restricted Project, Restricted Project
urnathan updated the diff for D135446: [libcxxabi] Resync llvm & libcxxabi's demangler.
Oct 11 2022, 5:53 AM · Restricted Project, Restricted Project, Restricted Project
urnathan added inline comments to D134654: [clang] Detect header loops.
Oct 11 2022, 5:03 AM · Restricted Project
urnathan accepted D134589: [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers..

This is ok, but see the note I added about object-file compatibility.

Oct 11 2022, 4:47 AM · Restricted Project, Restricted Project

Oct 7 2022

urnathan requested review of D135446: [libcxxabi] Resync llvm & libcxxabi's demangler.
Oct 7 2022, 7:09 AM · Restricted Project, Restricted Project, Restricted Project

Oct 4 2022

urnathan added inline comments to D134654: [clang] Detect header loops.
Oct 4 2022, 7:36 AM · Restricted Project
urnathan updated the diff for D134654: [clang] Detect header loops.
Oct 4 2022, 7:32 AM · Restricted Project
urnathan updated the diff for D134654: [clang] Detect header loops.
Oct 4 2022, 7:30 AM · Restricted Project

Oct 3 2022

urnathan added a comment to D135068: [libc++abi] Disable libc++ assertions when building cxa_demangle.

I'ma gonna replace the call to lower_bound in the demangler. https://github.com/llvm/llvm-project/issues/58117

Oct 3 2022, 10:12 AM · Restricted Project, Restricted Project

Sep 29 2022

urnathan added a comment to D134303: [AST] Preserve more structure in UsingEnumDecl node..

Does this still apply with the fix for dr2621 landed?

Sep 29 2022, 6:07 AM · Restricted Project, Restricted Project, Restricted Project

Sep 28 2022

urnathan updated the diff for D134654: [clang] Detect header loops.

this updates adds a map to record the active headers -- searching up the include stack is going to be O(N) per include, so not the best approach.

Sep 28 2022, 8:56 AM · Restricted Project
urnathan committed rG3d2080683f1d: [clang][DR2621] using enum NAME lookup fix (authored by urnathan).
[clang][DR2621] using enum NAME lookup fix
Sep 28 2022, 8:51 AM · Restricted Project, Restricted Project
urnathan closed D134283: [clang][DR2621] using enum NAME lookup fix.
Sep 28 2022, 8:50 AM · Restricted Project, Restricted Project

Sep 27 2022

urnathan added a comment to D134654: [clang] Detect header loops.

Ah, I should have investigated how it goes to find an existing lexer, it didn't occur to me that there already was include stack walking code.

Sep 27 2022, 9:45 AM · Restricted Project
urnathan added a comment to D122604: [demangler] Simplify OutputBuffer initialization.

ping pingedy ping?

Sep 27 2022, 5:20 AM · Restricted Project, Restricted Project, Restricted Project

Sep 26 2022

urnathan updated the summary of D134654: [clang] Detect header loops.
Sep 26 2022, 9:59 AM · Restricted Project
urnathan requested review of D134654: [clang] Detect header loops.
Sep 26 2022, 9:59 AM · Restricted Project
urnathan updated the diff for D134283: [clang][DR2621] using enum NAME lookup fix.

Here's an update, just to check I've got all the comments addressed. It doesn't appear this DR has made it to the ready status in cwg-index, so ./make_cxx_dr_status barfed.

Sep 26 2022, 9:53 AM · Restricted Project, Restricted Project
urnathan committed rG53c3664f674c: [xmm] Remove duplicate #define (authored by urnathan).
[xmm] Remove duplicate #define
Sep 26 2022, 9:00 AM · Restricted Project, Restricted Project
urnathan closed D134545: [xmm] Remove duplicate #define.
Sep 26 2022, 9:00 AM · Restricted Project, Restricted Project
urnathan added a comment to D134589: [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers..

Richard & I discussed this, and decided it was a bad idea, as it means we could have an O(N^2) initialization walk, rather than O(N).

Sep 26 2022, 7:28 AM · Restricted Project, Restricted Project

Sep 23 2022

urnathan added reviewers for D134545: [xmm] Remove duplicate #define: RKSimon, craig.topper, pengfei.
Sep 23 2022, 8:37 AM · Restricted Project, Restricted Project
urnathan requested review of D134545: [xmm] Remove duplicate #define.
Sep 23 2022, 8:34 AM · Restricted Project, Restricted Project
urnathan added a comment to D134283: [clang][DR2621] using enum NAME lookup fix.

Wha? That seems rather concerning. What does getKind() return? (We assert that the kind is correct when trying to get the data out of the object, but perhaps you weren't using an asserts build?)

Sep 23 2022, 4:14 AM · Restricted Project, Restricted Project

Sep 22 2022

urnathan added inline comments to D134283: [clang][DR2621] using enum NAME lookup fix.
Sep 22 2022, 6:17 AM · Restricted Project, Restricted Project
urnathan updated the diff for D134283: [clang][DR2621] using enum NAME lookup fix.

I forgot I had a git abbriev for the -U9999 thing, sorry about that.

Sep 22 2022, 6:16 AM · Restricted Project, Restricted Project

Sep 21 2022

urnathan added a comment to D134303: [AST] Preserve more structure in UsingEnumDecl node..

AFAICT the UsingDecl doesn't capture the NestedNameSpecifier location, is UsingEnumDecl special in some way, or would this information be better placed in BaseUsingDecl? Thanks for spotting the possible mid-air collistion with D134283.

Sep 21 2022, 6:36 AM · Restricted Project, Restricted Project, Restricted Project

Sep 20 2022

urnathan requested review of D134283: [clang][DR2621] using enum NAME lookup fix.
Sep 20 2022, 6:54 AM · Restricted Project, Restricted Project
urnathan added a comment to D134243: Don't crash when code completing `using enum ^Foo`..

Might be mooted by fixing https://github.com/llvm/llvm-project/issues/57659, which I am working on

Sep 20 2022, 4:36 AM · Restricted Project, Restricted Project

Aug 16 2022

urnathan accepted D131330: [llvm][Demangle] Add getter for FunctionEncoding::Attrs.
Aug 16 2022, 12:22 PM · Restricted Project, Restricted Project, Restricted Project
urnathan resigned from D126959: [C++20][Modules] Introduce an implementation module..
Aug 16 2022, 12:21 PM · Restricted Project, Restricted Project
urnathan resigned from D126694: [C++20][Modules] Implementation of GMF decl elision..
Aug 16 2022, 12:20 PM · Restricted Project, Restricted Project, Restricted Project
urnathan resigned from D131388: [docs] Add "Standard C++ Modules".
Aug 16 2022, 12:19 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
urnathan added a comment to D122604: [demangler] Simplify OutputBuffer initialization.

how can I get libc++abi review here?

Aug 16 2022, 12:18 PM · Restricted Project, Restricted Project, Restricted Project

Jun 21 2022

urnathan added a comment to D126189: [C++20][Modules] Build module static initializers per P1874R1..

please sed /initialiser/initializer/, I noticed a few had crept in.

Jun 21 2022, 5:01 AM · Restricted Project, Restricted Project

Jun 9 2022

urnathan committed rG65b34b78f8da: [clang][pr55896]:co_yield/co_await thread-safety (authored by urnathan).
[clang][pr55896]:co_yield/co_await thread-safety
Jun 9 2022, 4:42 AM · Restricted Project, Restricted Project
urnathan closed D127236: [clang][pr55896]:co_yield/co_await thread-safety.
Jun 9 2022, 4:42 AM · Restricted Project, Restricted Project
urnathan added inline comments to D127236: [clang][pr55896]:co_yield/co_await thread-safety.
Jun 9 2022, 4:05 AM · Restricted Project, Restricted Project

Jun 8 2022

urnathan committed rG4f8668d9f73a: [clang] co_return cleanup (authored by urnathan).
[clang] co_return cleanup
Jun 8 2022, 8:09 AM · Restricted Project, Restricted Project
urnathan closed D125542: [clang] co_return cleanup.
Jun 8 2022, 8:09 AM · Restricted Project, Restricted Project
urnathan added a comment to D122604: [demangler] Simplify OutputBuffer initialization.

ping?

Jun 8 2022, 6:59 AM · Restricted Project, Restricted Project, Restricted Project

Jun 7 2022

urnathan requested review of D127236: [clang][pr55896]:co_yield/co_await thread-safety.
Jun 7 2022, 10:41 AM · Restricted Project, Restricted Project

May 26 2022

urnathan accepted D126480: [demangler][RISCV] Fix for long double.

LGTM

May 26 2022, 9:45 AM · Restricted Project, Restricted Project, Restricted Project
urnathan committed rG6b8c6f15fdd8: [clang][PR55406] CFG for coroutine (authored by urnathan).
[clang][PR55406] CFG for coroutine
May 26 2022, 6:41 AM · Restricted Project, Restricted Project
urnathan closed D126399: [clang][PR55406] CFG for coroutine.
May 26 2022, 6:41 AM · Restricted Project, Restricted Project

May 25 2022

urnathan added a comment to D126399: [clang][PR55406] CFG for coroutine.

renamed test case

May 25 2022, 12:54 PM · Restricted Project, Restricted Project
urnathan updated the diff for D126399: [clang][PR55406] CFG for coroutine.
May 25 2022, 12:53 PM · Restricted Project, Restricted Project
urnathan updated the diff for D126399: [clang][PR55406] CFG for coroutine.
May 25 2022, 12:52 PM · Restricted Project, Restricted Project
urnathan requested review of D126399: [clang][PR55406] CFG for coroutine.
May 25 2022, 10:39 AM · Restricted Project, Restricted Project

May 23 2022

urnathan committed rGa1dcfb75ea8c: [clang] Module global init mangling (authored by urnathan).
[clang] Module global init mangling
May 23 2022, 9:03 AM · Restricted Project, Restricted Project
urnathan closed D122741: [clang] Module global init mangling.
May 23 2022, 9:03 AM · Restricted Project, Restricted Project
urnathan added inline comments to D126189: [C++20][Modules] Build module static initializers per P1874R1..
May 23 2022, 5:53 AM · Restricted Project, Restricted Project

May 18 2022

urnathan resigned from D121497: Lex: add support for `{,u}i128` Microsoft extension.
May 18 2022, 5:38 AM · Restricted Project, Restricted Project
urnathan abandoned D125825: [clang][NFC] Augment CoreturnStmt.
May 18 2022, 5:37 AM · Restricted Project
urnathan requested review of D125880: [clang][NFC] Augment CoreturnStmt.
May 18 2022, 5:36 AM · Restricted Project
urnathan abandoned D125541: [clang][PR55406] co_return CFG fix.
May 18 2022, 4:56 AM · Restricted Project
urnathan added inline comments to D125540: [clang] dependent co_return fix.
May 18 2022, 4:12 AM · Restricted Project

May 17 2022

urnathan requested review of D125825: [clang][NFC] Augment CoreturnStmt.
May 17 2022, 12:01 PM · Restricted Project
urnathan updated the summary of D125542: [clang] co_return cleanup.
May 17 2022, 12:00 PM · Restricted Project, Restricted Project
urnathan added inline comments to D125540: [clang] dependent co_return fix.
May 17 2022, 10:33 AM · Restricted Project
urnathan updated the diff for D125540: [clang] dependent co_return fix.

update

May 17 2022, 10:33 AM · Restricted Project
urnathan removed a reviewer for D125540: [clang] dependent co_return fix: ChuanqiXu.
May 17 2022, 4:31 AM · Restricted Project
urnathan added a comment to D125541: [clang][PR55406] co_return CFG fix.

Please clarify. This is fixing a bug where the CFG was being incorrectly constructed.

May 17 2022, 4:28 AM · Restricted Project

May 16 2022

urnathan added a reviewer for D125541: [clang][PR55406] co_return CFG fix: ChuanqiXu.
May 16 2022, 7:11 AM · Restricted Project
urnathan added a reviewer for D125540: [clang] dependent co_return fix: ChuanqiXu.
May 16 2022, 7:10 AM · Restricted Project
urnathan updated the diff for D122604: [demangler] Simplify OutputBuffer initialization.

ah, thanks for the clue!

May 16 2022, 5:45 AM · Restricted Project, Restricted Project, Restricted Project
urnathan committed rG80bebbc7cb77: [clang][NFC] Cleanup some coroutine tests (authored by urnathan).
[clang][NFC] Cleanup some coroutine tests
May 16 2022, 5:15 AM · Restricted Project, Restricted Project
urnathan closed D125535: [clang][NFC] Cleanup some coroutine tests.
May 16 2022, 5:15 AM · Restricted Project, Restricted Project

May 13 2022

urnathan updated the diff for D122604: [demangler] Simplify OutputBuffer initialization.

hm, let's try that rebase again

May 13 2022, 6:17 AM · Restricted Project, Restricted Project, Restricted Project
urnathan accepted D125476: [libc++abi][NFCI] Refactor demangling_terminate_handler to reduce nesting.

LGTM,

May 13 2022, 6:12 AM · Restricted Project, Restricted Project
urnathan requested review of D125542: [clang] co_return cleanup.
May 13 2022, 6:07 AM · Restricted Project, Restricted Project
urnathan requested review of D125541: [clang][PR55406] co_return CFG fix.
May 13 2022, 6:05 AM · Restricted Project
urnathan requested review of D125540: [clang] dependent co_return fix.
May 13 2022, 6:04 AM · Restricted Project
urnathan committed rG562ce1592456: [demangler] Avoid special-subst code duplication (authored by urnathan).
[demangler] Avoid special-subst code duplication
May 13 2022, 4:36 AM · Restricted Project, Restricted Project
urnathan closed D125257: [demangler] Avoid special-subst code duplication.
May 13 2022, 4:35 AM · Restricted Project, Restricted Project, Restricted Project
urnathan requested review of D125535: [clang][NFC] Cleanup some coroutine tests.
May 13 2022, 3:58 AM · Restricted Project, Restricted Project

May 12 2022

urnathan added inline comments to D125268: [libc++abi] Refactor exception type demangling into a separate function.
May 12 2022, 8:37 AM · Restricted Project, Restricted Project
urnathan updated the diff for D125257: [demangler] Avoid special-subst code duplication.

Address CI issue

May 12 2022, 5:18 AM · Restricted Project, Restricted Project, Restricted Project
urnathan updated the diff for D122604: [demangler] Simplify OutputBuffer initialization.

rebase

May 12 2022, 4:22 AM · Restricted Project, Restricted Project, Restricted Project
urnathan accepted D124946: [clang] serialize ORIGINAL_PCH_DIR relative to BaseDirectory.

good to go, thanks!

May 12 2022, 4:20 AM · Restricted Project, Restricted Project

May 11 2022

urnathan added inline comments to D125268: [libc++abi] Refactor exception type demangling into a separate function.
May 11 2022, 8:13 AM · Restricted Project, Restricted Project