Page MenuHomePhabricator

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

sousajo (Jorge Pinto Sousa)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 31 2023, 9:04 AM (25 w, 2 d)

Recent Activity

Aug 25 2023

sousajo added a comment to D156624: [clang-tidy] Access checks not done classes derived of std::array.

thanks for the review. can you please land it for me pls? Jorge Pinto Sousa <jorge.pinto.sousa@proton.me>

Aug 25 2023, 8:16 AM · Restricted Project, Restricted Project

Aug 24 2023

sousajo added a comment to D156624: [clang-tidy] Access checks not done classes derived of std::array.

@PiotrZSL @carlosgalvezp can you please recheck?

Aug 24 2023, 3:36 AM · Restricted Project, Restricted Project
sousajo updated the diff for D156624: [clang-tidy] Access checks not done classes derived of std::array.
Aug 24 2023, 3:35 AM · Restricted Project, Restricted Project

Jul 30 2023

sousajo added a comment to D156624: [clang-tidy] Access checks not done classes derived of std::array.

Good, just verify that documentation for this check is still proper, and add entry in release notes about this change.

Jul 30 2023, 12:50 PM · Restricted Project, Restricted Project
sousajo added a comment to D156624: [clang-tidy] Access checks not done classes derived of std::array.

hi @PiotrZSL, thanks for the review :) can you please land it for me?

Jul 30 2023, 12:19 PM · Restricted Project, Restricted Project
sousajo updated the summary of D156624: [clang-tidy] Access checks not done classes derived of std::array.
Jul 30 2023, 11:11 AM · Restricted Project, Restricted Project
sousajo requested review of D156624: [clang-tidy] Access checks not done classes derived of std::array.
Jul 30 2023, 11:10 AM · Restricted Project, Restricted Project

Jul 3 2023

sousajo added a comment to D154297: clang-tidy: accessing checks not done for aliases of `std::array`.

while landing it, if someone feels that the release note can/should be reworded please feel free to do so.

Jul 3 2023, 6:49 AM · Restricted Project, Restricted Project

Jul 2 2023

sousajo updated the diff for D154297: clang-tidy: accessing checks not done for aliases of `std::array`.

Thanks ^^ added the release note. Can someone please land it for me?

Jul 2 2023, 1:11 PM · Restricted Project, Restricted Project
sousajo requested review of D154297: clang-tidy: accessing checks not done for aliases of `std::array`.
Jul 2 2023, 1:30 AM · Restricted Project, Restricted Project

May 6 2023

sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

have been sick, and could not advance much except I added the tests to replicate the issue. Any ideas on how to proceed here?

May 6 2023, 9:08 AM · Restricted Project, Restricted Project

Apr 21 2023

sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

hey :( I will try to investigate it a bit sometime next week ^^ thanks for pointing it out

Thank you for looking into it! I didn't think about remove_const, remove_cv, etc. when considering test cases, sorry about that!

Apr 21 2023, 12:02 PM · Restricted Project, Restricted Project
sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

hey :( I will try to investigate it a bit sometime next week ^^ thanks for pointing it out

Apr 21 2023, 11:31 AM · Restricted Project, Restricted Project
sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

kind ping ^^

Apr 21 2023, 4:38 AM · Restricted Project, Restricted Project

Apr 18 2023

sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

can someone land it for me pls? Jorge Pinto Sousa <jorge.pinto.sousa@proton.me>

Apr 18 2023, 10:43 AM · Restricted Project, Restricted Project

Apr 17 2023

sousajo added a comment to D148276: [clang] trigger -Wcast-qual on functional casts.

@shafik does it look better now?

Apr 17 2023, 2:28 AM · Restricted Project, Restricted Project

Apr 16 2023

sousajo added a comment to D148437: [clang-format] Dont interpret variable named interface as keyword for C++.

cannot reproduce the build failure locally. if this looks fine can someone land it for me? or should we wait until we have a green build after rebase?

Apr 16 2023, 2:32 AM · Restricted Project, Restricted Project, Restricted Project
sousajo updated the diff for D148437: [clang-format] Dont interpret variable named interface as keyword for C++.
  • rebased
Apr 16 2023, 12:11 AM · Restricted Project, Restricted Project, Restricted Project

Apr 15 2023

sousajo updated the diff for D148437: [clang-format] Dont interpret variable named interface as keyword for C++.
  • inline string to be checked
Apr 15 2023, 3:56 PM · Restricted Project, Restricted Project, Restricted Project
sousajo updated the diff for D148437: [clang-format] Dont interpret variable named interface as keyword for C++.
  • removed FormatStyle Style = getLLVMStyle(); as llvm is the default style
Apr 15 2023, 3:54 PM · Restricted Project, Restricted Project, Restricted Project
sousajo added a comment to D148437: [clang-format] Dont interpret variable named interface as keyword for C++.

As I dont have commit access if someone can land It for me:

Apr 15 2023, 1:01 PM · Restricted Project, Restricted Project, Restricted Project
sousajo requested review of D148437: [clang-format] Dont interpret variable named interface as keyword for C++.
Apr 15 2023, 11:13 AM · Restricted Project, Restricted Project, Restricted Project

Apr 14 2023

sousajo added a comment to D148354: [clang-tidy][NFC] Remove reference to Visual studio native plugin.

I see you uploaded this path without author attached, should I push this as "Jorge Pinto Sousa <jorge.pinto.sousa@proton.me>" ?

Apr 14 2023, 10:31 AM · Restricted Project, Restricted Project
sousajo requested review of D148354: [clang-tidy][NFC] Remove reference to Visual studio native plugin.
Apr 14 2023, 10:05 AM · Restricted Project, Restricted Project
sousajo updated the diff for D148276: [clang] trigger -Wcast-qual on functional casts.
  • get rid of whitespace unrelated changes
Apr 14 2023, 7:20 AM · Restricted Project, Restricted Project
sousajo added inline comments to D148276: [clang] trigger -Wcast-qual on functional casts.
Apr 14 2023, 7:17 AM · Restricted Project, Restricted Project
sousajo updated the diff for D148276: [clang] trigger -Wcast-qual on functional casts.

Add more tests

Apr 14 2023, 7:15 AM · Restricted Project, Restricted Project

Apr 13 2023

sousajo updated the summary of D148276: [clang] trigger -Wcast-qual on functional casts.
Apr 13 2023, 4:06 PM · Restricted Project, Restricted Project
sousajo requested review of D148276: [clang] trigger -Wcast-qual on functional casts.
Apr 13 2023, 4:06 PM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

windows checks are failing, but looks like it is unrelated to this change

Apr 13 2023, 12:22 AM · Restricted Project, Restricted Project

Apr 12 2023

sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

rebased

Apr 12 2023, 10:05 PM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

@aaron.ballman should be ok now ^^

Apr 12 2023, 4:20 PM · Restricted Project, Restricted Project
sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Rebased and fix wording of the release note

Apr 12 2023, 4:06 PM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

LGTM with a minor grammar change in the release note (feel free to take it or leave it as you see fit).

Sure I can add it later today. Then one of you would have to land it for me ^^

Thank you for letting us know -- what name and email address would you like us to use for patch attribution?

Apr 12 2023, 2:22 PM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

LGTM with a minor grammar change in the release note (feel free to take it or leave it as you see fit).

Apr 12 2023, 10:30 AM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Also agree, imho this is better now and will be fine most of time

Apr 12 2023, 9:57 AM · Restricted Project, Restricted Project
sousajo added inline comments to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
Apr 12 2023, 9:55 AM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Does it look fine now ?

Apr 12 2023, 8:19 AM · Restricted Project, Restricted Project

Apr 9 2023

sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
  • change AssertExpr->getSourceRange().getBegin() calls to AssertExpr->getBeginLoc()
  • same for InnerCond->getSourceRange().getBegin()
  • add a couple more tests
Apr 9 2023, 11:34 AM · Restricted Project, Restricted Project
sousajo added a comment to D147874: [clang-tidy] Fix AST Library documentation link.

I dont have commit access, can someone land it for me?

Apr 9 2023, 1:31 AM · Restricted Project, Restricted Project
sousajo requested review of D147874: [clang-tidy] Fix AST Library documentation link.
Apr 9 2023, 1:07 AM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Ah, there is -fcared-diagnostics-max-lines as a cc1 option: https://godbolt.org/z/Y4dW35v7M

Apr 9 2023, 12:32 AM · Restricted Project, Restricted Project

Apr 8 2023

sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Just realized that in the case:

static_assert(
true && 
false);
Apr 8 2023, 12:41 PM · Restricted Project, Restricted Project
sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

Added two test cases, and the release note.

Apr 8 2023, 11:34 AM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

I think the other Diag call should be changed as well:

./a.cpp:4:15: error: static assertion failed
static_assert(false);
              ^~~~~
./a.cpp:6:1: error: static assertion failed due to requirement 'true && false'
static_assert(true && false);
^             ~~~~~~~~~~~~~
Apr 8 2023, 3:17 AM · Restricted Project, Restricted Project

Apr 7 2023

sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

rebased

Apr 7 2023, 11:39 AM · Restricted Project, Restricted Project
sousajo added a comment to D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
Apr 7 2023, 3:31 AM · Restricted Project, Restricted Project

Apr 6 2023

sousajo updated the diff for D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.

just rebased

Apr 6 2023, 10:10 PM · Restricted Project, Restricted Project
sousajo updated the summary of D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
Apr 6 2023, 3:05 PM · Restricted Project, Restricted Project
sousajo updated the summary of D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
Apr 6 2023, 3:04 PM · Restricted Project, Restricted Project
sousajo requested review of D147745: Make 'static assertion failed' diagnostics point to the static assertion expression.
Apr 6 2023, 3:04 PM · Restricted Project, Restricted Project