Page MenuHomePhabricator

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

RIscRIpt (Richard Dzenis)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 17 2019, 1:13 AM (197 w, 6 d)

Recent Activity

Sat, Sep 23

RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Rebase onto main. Run lit clang/test. Bump.

Sat, Sep 23, 8:08 AM · Restricted Project, Restricted Project

Mon, Sep 4

RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

Looks good. Thanks!

Mon, Sep 4, 7:27 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

Hum. before I do

  • I think the commit message could be more explicit as to what the patch does ("Add support of Windows Trace Logging macros" is a bit vague)
  • Do we need a release note ?
Mon, Sep 4, 3:22 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

@cor3ntin, thanks for asking. No, I do not have access. Please merge. Commits should have correct email and name.

Mon, Sep 4, 2:35 AM · Restricted Project, Restricted Project

Aug 31 2023

RIscRIpt abandoned D157747: Support Unicode Microsoft predefined macros.

I found a way to implement __LPREFIX-macros-family in Clang. I need some more time to finish and polish it. Going to post it a couple of weeks later.

Aug 31 2023, 6:07 AM · Restricted Project, Restricted Project, Restricted Project

Aug 25 2023

RIscRIpt updated the diff for D158591: Add support of Windows Trace Logging macros.

Rebased onto main, fixed commit messages, fixed formatting, re-run lit for clang/test

Aug 25 2023, 5:32 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

And it seems that BasePtr points to a different object, not the one which corresponds to StringLiteral (at step 2).

Aug 25 2023, 5:12 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

Regarding new interpreter.

Aug 25 2023, 4:43 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D158591: Add support of Windows Trace Logging macros.

Address review comments

Aug 25 2023, 4:26 AM · Restricted Project, Restricted Project

Aug 24 2023

RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

The current implementation of getPredefinedExprDeclContext could be easily moved to a static function inside clang/lib/Sema/SemaExpr.cpp as it depends only on Sema::CurContext WDYT?

Aug 24 2023, 7:35 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D158591: Add support of Windows Trace Logging macros.

I missed this comment

Aug 24 2023, 7:28 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D158591: Add support of Windows Trace Logging macros.

Use isa<...> in getPredefinedExprDeclContext

Aug 24 2023, 7:28 AM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D158591: Add support of Windows Trace Logging macros.
Aug 24 2023, 7:21 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D158591: Add support of Windows Trace Logging macros.

Rebase onto main, address review comments

Aug 24 2023, 7:21 AM · Restricted Project, Restricted Project

Aug 23 2023

RIscRIpt added inline comments to D158591: Add support of Windows Trace Logging macros.
Aug 23 2023, 6:32 AM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D158591: Add support of Windows Trace Logging macros.
Aug 23 2023, 5:11 AM · Restricted Project, Restricted Project
RIscRIpt added reviewers for D158591: Add support of Windows Trace Logging macros: aaron.ballman, cor3ntin, tahonermann.
Aug 23 2023, 3:28 AM · Restricted Project, Restricted Project
RIscRIpt planned changes to D157747: Support Unicode Microsoft predefined macros.

While I work at __LPREFIX, I remove this revision from review queue.

Aug 23 2023, 3:26 AM · Restricted Project, Restricted Project, Restricted Project
RIscRIpt requested review of D158591: Add support of Windows Trace Logging macros.
Aug 23 2023, 3:22 AM · Restricted Project, Restricted Project

Aug 11 2023

RIscRIpt added a comment to D157747: Support Unicode Microsoft predefined macros.

This implementation preserves support for identifiers L__FUNCSIG__ and L__FUNCTION__ (which have never been supported by MSVC), and adds other identifiers for all supported encodings: L, u8, u, U.

Aug 11 2023, 2:51 PM · Restricted Project, Restricted Project, Restricted Project
RIscRIpt added a reviewer for D157747: Support Unicode Microsoft predefined macros: cor3ntin.
Aug 11 2023, 11:59 AM · Restricted Project, Restricted Project, Restricted Project
RIscRIpt added a reviewer for D157747: Support Unicode Microsoft predefined macros: tahonermann.
Aug 11 2023, 11:57 AM · Restricted Project, Restricted Project, Restricted Project
RIscRIpt requested review of D157747: Support Unicode Microsoft predefined macros.
Aug 11 2023, 11:56 AM · Restricted Project, Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Rebase onto main (bump)

Aug 11 2023, 2:11 AM · Restricted Project, Restricted Project

Aug 9 2023

RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Aug 9 2023, 12:53 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Updated comment; rebased onto main

Aug 9 2023, 12:53 AM · Restricted Project, Restricted Project

Aug 8 2023

RIscRIpt added a comment to D153914: [clang-cl] Enable concatenation of predefined identifiers.

We will commit on your behalf, what name/email do you want us to use?
Thanks!

Aug 8 2023, 3:03 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Address review comments, rebase onto main

Aug 8 2023, 3:03 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Rebased onto main, run local lit clang/tests. (bump for @cor3ntin)
As far as I understand this shall be merged into main by maintainers.
Please let me know if something else is expected from me.

Aug 8 2023, 10:21 AM · Restricted Project, Restricted Project

Jul 26 2023

RIscRIpt added a comment to D153914: [clang-cl] Enable concatenation of predefined identifiers.

Thank you for the review! I apologize for missing the small details; I should have noticed and addressed them myself.

Jul 26 2023, 12:23 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Rename MicrosoftStringLiteralFromPredefined

Jul 26 2023, 12:19 AM · Restricted Project, Restricted Project

Jul 25 2023

RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Rename diagnostic messages constants

Jul 25 2023, 3:06 PM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 25 2023, 1:47 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Removed irrelevant changes

Jul 25 2023, 1:47 PM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 25 2023, 1:32 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Addressed review comments, rebased onto main

Jul 25 2023, 1:32 PM · Restricted Project, Restricted Project

Jul 21 2023

RIscRIpt added a comment to D153914: [clang-cl] Enable concatenation of predefined identifiers.

Thanks to your suggestion of testing different types, I realized clang does not support MSVC macros with u, u8, and U prefixes in addition to L__FUNCDNAME. By the way, clang replicates MSVC behavior a little bit incorrectly: L__FUNCTION__ is not a valid token for MSVC, however it becomes valid if used via macro concatenation (see #define WIDE).
I think addition of support of new macros as well as bug fix (if possible) should be submitted separately. I'll open-up an issue, and submit a PR later.

Jul 21 2023, 4:14 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Address review comments, rebase onto main

Jul 21 2023, 4:13 PM · Restricted Project, Restricted Project

Jul 20 2023

RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Fix clang/test/SemaCXX/ms-constexpr.cpp

Jul 20 2023, 5:23 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

add HEAD~2 patch

Jul 20 2023, 5:11 AM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.
Jul 20 2023, 5:09 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Addressed review comments and rebased onto main.

Jul 20 2023, 5:09 AM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 20 2023, 3:26 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Addressed review comments, rebased onto main

Jul 20 2023, 3:25 AM · Restricted Project, Restricted Project

Jul 19 2023

RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 19 2023, 3:24 PM · Restricted Project, Restricted Project
RIscRIpt added a comment to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Thank you for your quick response.

Jul 19 2023, 12:14 AM · Restricted Project, Restricted Project

Jul 18 2023

RIscRIpt added a comment to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

According to git blame @rsmith has done lots of changes in clang/lib/AST/ExprConstant.cpp; added as reviewer.

Jul 18 2023, 1:27 PM · Restricted Project, Restricted Project
RIscRIpt retitled D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute from [Clang] Add support for [[msvc::constexpr]] C++11 attribute to [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.
Jul 18 2023, 1:26 PM · Restricted Project, Restricted Project

Jul 16 2023

RIscRIpt added inline comments to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.
Jul 16 2023, 6:31 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Renamed clang/test/AST/msvc-* to ms-*
Tried to improve doc note.
Rebased onto one of stable commits from main.

Jul 16 2023, 6:30 AM · Restricted Project, Restricted Project

Jul 15 2023

RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 15 2023, 2:39 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Addressed review comments, rebased onto main

Jul 15 2023, 2:39 PM · Restricted Project, Restricted Project

Jul 14 2023

RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 14 2023, 5:09 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Addressed review comments, rebased onto main.

Jul 14 2023, 5:09 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Rebased onto main

Jul 14 2023, 8:09 AM · Restricted Project, Restricted Project
RIscRIpt added inline comments to D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jul 14 2023, 6:33 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Addressed review comments.

Jul 14 2023, 6:33 AM · Restricted Project, Restricted Project

Jul 7 2023

RIscRIpt added a comment to D153914: [clang-cl] Enable concatenation of predefined identifiers.

Added @aaron.ballman as reviewer, because he was reviewer of related patch: 878e590503dff

Jul 7 2023, 8:57 AM · Restricted Project, Restricted Project
RIscRIpt added a reviewer for D153914: [clang-cl] Enable concatenation of predefined identifiers: aaron.ballman.
Jul 7 2023, 8:56 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Rebased onto main

Jul 7 2023, 1:58 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D153914: [clang-cl] Enable concatenation of predefined identifiers.

Rebased onto main

Jul 7 2023, 1:56 AM · Restricted Project, Restricted Project

Jun 27 2023

RIscRIpt added a comment to D153914: [clang-cl] Enable concatenation of predefined identifiers.

GitHub issue: https://github.com/llvm/llvm-project/issues/63563

Jun 27 2023, 1:31 PM · Restricted Project, Restricted Project
RIscRIpt requested review of D153914: [clang-cl] Enable concatenation of predefined identifiers.
Jun 27 2023, 1:29 PM · Restricted Project, Restricted Project

Jun 3 2023

RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Added diagnostics for [[msvc::constexpr]] virtual

Jun 3 2023, 8:21 AM · Restricted Project, Restricted Project

May 9 2023

RIscRIpt added a comment to D150229: [bolt] Fix typo in BinaryFunction::parseLSDA.

I think it went unnoticed, because AFAICS lpStartEncoding is omit most of the times, which resulted MaybeLPStart == std::nullopt, and LPStart = 0.

LPStart = 0
LPOffset = LPStart + LandingPad;
LPAddress = Address + LPOffset; // == Address + 0 + LandingPad == Address + LandingPad
LPAddress < Address == false // OK, fragment is not skipped
May 9 2023, 3:25 PM · Restricted Project, Restricted Project
RIscRIpt requested review of D150229: [bolt] Fix typo in BinaryFunction::parseLSDA.
May 9 2023, 2:52 PM · Restricted Project, Restricted Project

Apr 21 2023

RIscRIpt planned changes to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Does it prohibit the inverse? I think this documentation overall needs a much better description of what the semantics are here, particularly anything that you found in experimentation on the MS implementation.

Apr 21 2023, 2:34 PM · Restricted Project, Restricted Project
RIscRIpt retitled D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute from Add C++11 attribute msvc::constexpr to [Clang] Add support for [[msvc::constexpr]] C++11 attribute.
Apr 21 2023, 8:18 AM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

A proper implementation

Apr 21 2023, 8:17 AM · Restricted Project, Restricted Project
RIscRIpt abandoned D148926: [Clang] Add support for [[msvc::constexpr]] C++11 attribute.

This had to be submitted to https://reviews.llvm.org/D134475

Apr 21 2023, 7:59 AM · Restricted Project, Restricted Project
RIscRIpt updated the summary of D148926: [Clang] Add support for [[msvc::constexpr]] C++11 attribute.
Apr 21 2023, 7:55 AM · Restricted Project, Restricted Project
RIscRIpt updated the summary of D148926: [Clang] Add support for [[msvc::constexpr]] C++11 attribute.
Apr 21 2023, 7:55 AM · Restricted Project, Restricted Project
RIscRIpt requested review of D148926: [Clang] Add support for [[msvc::constexpr]] C++11 attribute.
Apr 21 2023, 7:51 AM · Restricted Project, Restricted Project

Mar 26 2023

RIscRIpt added a comment to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

I am sorry for protracting implementation. I am still interested to finish this (if no volunteer takes over sooner).

Mar 26 2023, 6:31 PM · Restricted Project, Restricted Project

Jan 21 2023

RIscRIpt added a comment to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

I asked MSFT to comment, let's see if they can share the spec for this attribute.

Jan 21 2023, 3:21 AM · Restricted Project, Restricted Project

Oct 2 2022

RIscRIpt added a comment to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

TODO: I think, I'll need to read more about constexpr for functions in standard (and LLVM code), to add relevant restrictions here.

Oct 2 2022, 9:00 AM · Restricted Project, Restricted Project

Oct 1 2022

RIscRIpt planned changes to D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.
Oct 1 2022, 1:56 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.

Add more tests, don't alter constexprKind of [[msvc::constexpr]] functions - instead change implementation of isConstexpr

Oct 1 2022, 1:56 PM · Restricted Project, Restricted Project

Sep 23 2022

RIscRIpt updated the summary of D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.
Sep 23 2022, 1:56 AM · Restricted Project, Restricted Project

Sep 22 2022

RIscRIpt planned changes to D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.

TODO: add proper ABI tests of [[msvc::no_unique_address]]

Sep 22 2022, 2:44 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.

Add naive implementation ABI of [[msvc::no_unique_address]]

Sep 22 2022, 2:43 PM · Restricted Project, Restricted Project
RIscRIpt planned changes to D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.
Sep 22 2022, 2:20 PM · Restricted Project, Restricted Project
RIscRIpt added a comment to D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.

Can you split this out into two separate reviews?

Sep 22 2022, 1:50 PM · Restricted Project, Restricted Project
RIscRIpt requested review of D134475: [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute.
Sep 22 2022, 1:48 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.

Remove msvc::constexpr commit

Sep 22 2022, 1:09 PM · Restricted Project, Restricted Project
RIscRIpt abandoned D133853: [AST] Add msvc-specific C++11 attributes.

Closing in favor of https://reviews.llvm.org/D134475

Sep 22 2022, 1:07 PM · Restricted Project, Restricted Project
RIscRIpt updated the diff for D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.

Add msvc::constexpr commit

Sep 22 2022, 10:37 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D133853: [AST] Add msvc-specific C++11 attributes.

I am new to arc, I tried arc diff --edit --verbatim as it's said in the docs, but it still created a new revision: https://reviews.llvm.org/D134458

Sep 22 2022, 10:35 AM · Restricted Project, Restricted Project
RIscRIpt requested review of D134458: [AST] Add C++11 attribute 'msvc::no_unique_address'.
Sep 22 2022, 10:34 AM · Restricted Project, Restricted Project
RIscRIpt added a comment to D133853: [AST] Add msvc-specific C++11 attributes.

It's a conforming extension in older language modes like C++98, where we couldn't steal the constexpr keyword because it's not reserved, which is one benefit to it. Does MSVC support this as far back as C++98?

Sep 22 2022, 8:18 AM · Restricted Project, Restricted Project

Sep 17 2022

RIscRIpt added a comment to D133853: [AST] Add msvc-specific C++11 attributes.

but my suggestion is to only support [[msvc::constexpr]] with the semantic meaning of constexpr

Sep 17 2022, 6:34 AM · Restricted Project, Restricted Project

Sep 15 2022

RIscRIpt added a comment to D133853: [AST] Add msvc-specific C++11 attributes.

I'm wondering what the goal is for these changes. ... Are you intending to add semantics for these attributes in follow-up patches?

Sep 15 2022, 1:51 PM · Restricted Project, Restricted Project

Sep 14 2022

RIscRIpt requested review of D133853: [AST] Add msvc-specific C++11 attributes.
Sep 14 2022, 5:23 AM · Restricted Project, Restricted Project