Page MenuHomePhabricator

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

stephanemoore (Stephane Moore)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 17 2015, 4:47 PM (419 w, 4 d)

Recent Activity

Mar 30 2023

stephanemoore abandoned D137740: [clang-tidy][NFC] Fix namespace comments in AvoidThrowingObjCExceptionCheck.cpp 🧹.

Abandoned this revision and folded the changes into another revision.

Mar 30 2023, 8:04 AM · Restricted Project, Restricted Project

Nov 30 2022

stephanemoore committed rG6c2140943cbe: [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢 (authored by stephanemoore).
[clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢
Nov 30 2022, 4:45 PM · Restricted Project, Restricted Project
stephanemoore closed D137738: [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢.
Nov 30 2022, 4:45 PM · Restricted Project, Restricted Project

Nov 22 2022

stephanemoore added a comment to D137738: [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢.

The false positives from this check are causing some disruption for XCTest framework users after some changes that we believe happened in Xcode 14. It would be nice if we could land some form of fix soon. I am happy to discuss options and iterate as needed.

Nov 22 2022, 1:14 PM · Restricted Project, Restricted Project

Nov 14 2022

stephanemoore updated the diff for D137738: [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢.

Included namespace comment linter fixes from D137740 as advised by @Eugene.Zelenko,

Nov 14 2022, 11:19 AM · Restricted Project, Restricted Project

Nov 9 2022

stephanemoore added a comment to D137740: [clang-tidy][NFC] Fix namespace comments in AvoidThrowingObjCExceptionCheck.cpp 🧹.

Will be good idea to combine this patch with D137738.

Nov 9 2022, 4:03 PM · Restricted Project, Restricted Project
stephanemoore published D137738: [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢 for review.
Nov 9 2022, 1:59 PM · Restricted Project, Restricted Project
stephanemoore updated the summary of D137740: [clang-tidy][NFC] Fix namespace comments in AvoidThrowingObjCExceptionCheck.cpp 🧹.
Nov 9 2022, 1:50 PM · Restricted Project, Restricted Project
stephanemoore published D137740: [clang-tidy][NFC] Fix namespace comments in AvoidThrowingObjCExceptionCheck.cpp 🧹 for review.
Nov 9 2022, 1:50 PM · Restricted Project, Restricted Project

Oct 6 2022

stephanemoore accepted D135091: Fix assert in generated `direct` property getter/setters due to removal of `_cmd` parameter..
Oct 6 2022, 2:18 PM · Restricted Project, Restricted Project
stephanemoore accepted D135091: Fix assert in generated `direct` property getter/setters due to removal of `_cmd` parameter..
Oct 6 2022, 1:24 PM · Restricted Project, Restricted Project
stephanemoore added a comment to D131424: Remove the unused/undefined _cmd parameter to objc_direct methods..

LGTM after fixing the assertion ✅

Oct 6 2022, 12:57 PM · Restricted Project, Restricted Project

Aug 8 2022

stephanemoore added a reviewer for D131424: Remove the unused/undefined _cmd parameter to objc_direct methods.: stephanemoore.
Aug 8 2022, 12:23 PM · Restricted Project, Restricted Project

Mar 1 2022

stephanemoore committed rG0ff290570965: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️ (authored by stephanemoore).
[lldb] Hyphenate Objective-C exception breakpoint labels ✍️
Mar 1 2022, 3:03 PM · Restricted Project
stephanemoore closed D113616: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️.
Mar 1 2022, 3:03 PM · Restricted Project, Restricted Project
Herald added a project to D113616: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️: Restricted Project.

Very easy change as VS Code IDE displays these strings and no one references these by name.

Mar 1 2022, 1:50 PM · Restricted Project, Restricted Project

Feb 23 2022

stephanemoore added a comment to D113616: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️.

This seems trivial enough, but adding Greg as he wrote most of lldb-vscode.

Feb 23 2022, 8:15 PM · Restricted Project, Restricted Project
stephanemoore published D113616: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️ for review.
Feb 23 2022, 3:02 PM · Restricted Project, Restricted Project

Feb 22 2022

stephanemoore added a comment to D120372: [clang] 'unused-but-set-variable' warning should not apply to __attribute__((objc_precise_lifetime) Objective-C pointers.

Maybe ahatanak might be a good reviewer based on https://reviews.llvm.org/D112850?

Feb 22 2022, 5:28 PM · Restricted Project
stephanemoore accepted D120372: [clang] 'unused-but-set-variable' warning should not apply to __attribute__((objc_precise_lifetime) Objective-C pointers.

Make sense to me.

Feb 22 2022, 5:24 PM · Restricted Project

Jul 11 2021

stephanemoore accepted D105311: Optimize getters for non-atomic, copied properties.

Looks reasonable to me.

Jul 11 2021, 7:03 AM · Restricted Project

Apr 9 2020

stephanemoore accepted D77571: [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes..
Apr 9 2020, 9:13 PM · Restricted Project, Restricted Project

Apr 8 2020

stephanemoore accepted D77571: [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes..
Apr 8 2020, 5:56 PM · Restricted Project, Restricted Project

Feb 6 2020

stephanemoore accepted D72876: Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category..

Looks good!

Feb 6 2020, 2:16 PM · Restricted Project, Restricted Project

Jan 31 2020

stephanemoore requested changes to D72876: Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category..

One last correction and I think that you're all set!

Jan 31 2020, 6:24 PM · Restricted Project, Restricted Project

Jan 29 2020

stephanemoore added a comment to D72876: Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category..

Looks in good shape 👌 A couple nits and polish ideas.

Jan 29 2020, 8:34 PM · Restricted Project, Restricted Project

Jan 24 2020

stephanemoore added inline comments to D72876: Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category..
Jan 24 2020, 5:03 PM · Restricted Project, Restricted Project
stephanemoore requested changes to D72876: Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category..
Jan 24 2020, 4:45 PM · Restricted Project, Restricted Project

Dec 5 2019

stephanemoore added a comment to rG380a6452b2e9: [ASTMatchers] work around a miscompile; "NFC".

Thanks for the fix and for the confirmation! 👍

Dec 5 2019, 3:07 PM

Dec 3 2019

stephanemoore accepted rG380a6452b2e9: [ASTMatchers] work around a miscompile; "NFC".

The changes look functionally safe.

Dec 3 2019, 7:50 PM

Oct 30 2019

stephanemoore committed rG9baf4958cda4: [clang-tidy] Regenerate clang-tidy check list 📋 (authored by stephanemoore).
[clang-tidy] Regenerate clang-tidy check list 📋
Oct 30 2019, 6:21 PM
stephanemoore closed D69414: [clang-tidy] Regenerate clang-tidy check list 📋.
Oct 30 2019, 6:20 PM · Restricted Project

Oct 24 2019

stephanemoore added a comment to D69414: [clang-tidy] Regenerate clang-tidy check list 📋.

Please let me know if there are any corrections that are required to the output of clang-tools-extra/clang-tidy/add_new_check.py.

Oct 24 2019, 4:35 PM · Restricted Project
stephanemoore created D69414: [clang-tidy] Regenerate clang-tidy check list 📋.
Oct 24 2019, 4:35 PM · Restricted Project
stephanemoore added a reviewer for D69414: [clang-tidy] Regenerate clang-tidy check list 📋: aaron.ballman.
Oct 24 2019, 4:35 PM · Restricted Project

Oct 1 2019

stephanemoore committed rGe4acb971f1ea: [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock (authored by stephanemoore).
[clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock
Oct 1 2019, 2:18 PM
stephanemoore committed rL373392: [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock.
[clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock
Oct 1 2019, 2:17 PM
stephanemoore closed D68148: [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock.
Oct 1 2019, 2:17 PM · Restricted Project, Restricted Project, Restricted Project

Sep 30 2019

stephanemoore added a comment to D65917: [clang-tidy] Added check for the Google style guide's category method naming rule..

(sorry for the delay 😅)

Sep 30 2019, 5:18 PM · Restricted Project, Restricted Project

Sep 29 2019

stephanemoore accepted D68148: [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock.

I wasn't sure what the policy is for renaming checks so I dug into previous check renames. https://reviews.llvm.org/D43867 seems to indicate that it's acceptable for checks to be renamed with documentation in the release notes (though there is some discussion about the possibility of recognizing the old check name for a grace period). Based on the aforementioned precedent I don't have concerns with this proposed change.

Sep 29 2019, 4:33 PM · Restricted Project, Restricted Project, Restricted Project

Sep 27 2019

stephanemoore added a comment to D68109: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage..

Looks good 👌

Sep 27 2019, 12:10 PM · Restricted Project, Restricted Project, Restricted Project

Sep 26 2019

stephanemoore committed rGaa7d6544c14c: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non… (authored by stephanemoore).
[clang-tidy] New check to warn when storing dispatch_once_t in non-static, non…
Sep 26 2019, 4:04 PM
stephanemoore committed rL373028: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non….
[clang-tidy] New check to warn when storing dispatch_once_t in non-static, non…
Sep 26 2019, 4:03 PM
stephanemoore closed D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.
Sep 26 2019, 4:03 PM · Restricted Project, Restricted Project, Restricted Project
stephanemoore added a comment to D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.

It looks like everything is in order. I will proceed with landing the patch on your behalf 👍

Sep 26 2019, 4:02 PM · Restricted Project, Restricted Project, Restricted Project
stephanemoore accepted D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.
Sep 26 2019, 2:59 PM · Restricted Project, Restricted Project, Restricted Project
stephanemoore added a comment to D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.

Does the check allow variables in anonymous namespaces?

namespace {
dispatch_once_t onceToken;
}

I think such variables should satisfy initialization requirements.

If not, can we update the check to not trigger on variables? Either way, can we add a test to verify behavior for variables in anonymous namespaces?

Sep 26 2019, 2:59 PM · Restricted Project, Restricted Project, Restricted Project
stephanemoore added a comment to D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.

Looks good! A couple nits/questions.

Sep 26 2019, 2:55 PM · Restricted Project, Restricted Project, Restricted Project

Sep 20 2019

stephanemoore committed rG2f6a52816fc3: [clang-tidy] Add check for classes missing -hash ⚠️ (authored by stephanemoore).
[clang-tidy] Add check for classes missing -hash ⚠️
Sep 20 2019, 6:22 PM
stephanemoore committed rL372445: [clang-tidy] Add check for classes missing -hash ⚠️.
[clang-tidy] Add check for classes missing -hash ⚠️
Sep 20 2019, 6:22 PM
stephanemoore closed D67737: [clang-tidy] Add check for classes missing -hash ⚠️.
Sep 20 2019, 6:22 PM · Restricted Project, Restricted Project
stephanemoore added a comment to D67737: [clang-tidy] Add check for classes missing -hash ⚠️.

Thanks for the review!

Sep 20 2019, 5:45 PM · Restricted Project, Restricted Project
stephanemoore requested changes to D65917: [clang-tidy] Added check for the Google style guide's category method naming rule..
Sep 20 2019, 5:44 PM · Restricted Project, Restricted Project

Sep 19 2019

stephanemoore added inline comments to D67737: [clang-tidy] Add check for classes missing -hash ⚠️.
Sep 19 2019, 7:34 PM · Restricted Project, Restricted Project
stephanemoore added inline comments to D67737: [clang-tidy] Add check for classes missing -hash ⚠️.
Sep 19 2019, 12:48 AM · Restricted Project, Restricted Project
stephanemoore updated the diff for D67737: [clang-tidy] Add check for classes missing -hash ⚠️.

Restrict ojbc-missing-hash to Objective-C language variants and fix sorting of
release notes.

Sep 19 2019, 12:38 AM · Restricted Project, Restricted Project

Sep 18 2019

stephanemoore added reviewers for D67737: [clang-tidy] Add check for classes missing -hash ⚠️: aaron.ballman, benhamilton.
Sep 18 2019, 3:46 PM · Restricted Project, Restricted Project
stephanemoore created D67737: [clang-tidy] Add check for classes missing -hash ⚠️.
Sep 18 2019, 3:45 PM · Restricted Project, Restricted Project

Sep 17 2019

stephanemoore added inline comments to D65917: [clang-tidy] Added check for the Google style guide's category method naming rule..
Sep 17 2019, 1:52 PM · Restricted Project, Restricted Project

Sep 16 2019

stephanemoore requested changes to D65917: [clang-tidy] Added check for the Google style guide's category method naming rule..
Sep 16 2019, 7:08 PM · Restricted Project, Restricted Project
stephanemoore added a comment to D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.
  1. Is dispatch_once_t OSX-specific thing? Should those checks be in osx module?
  1. I don't see an osx module—am I somehow missing seeing it?

One can be added.

dispatch_once_t is something from libdispatchwhich is an Apple-created API, but is OSS and available outside Apple. It's also a C API, which is why I didn't feel objc was an appropriate module either. I'm open to a better home module for this check, it's just not clear to me where that might be.

No opinion on my question, just thought it should be asked,

As Ben commented, I don't feel this should be in an osx module, as libdispatch is highly used on iOS and other Apple platforms. I know it's available elsewhere, but it may be so seldom used that I think a darwinmodule might be reasonable. I looked at the process for creating a new module, and can do that if we'd like, but should that be part of this same review?

Sep 16 2019, 5:05 PM · Restricted Project, Restricted Project, Restricted Project
stephanemoore added inline comments to D67578: [clang-tidy] New check to warn when writing to a dispatch_once_t variable..
Sep 16 2019, 3:31 PM · Restricted Project, Restricted Project

Sep 11 2019

stephanemoore requested changes to D65917: [clang-tidy] Added check for the Google style guide's category method naming rule..
Sep 11 2019, 4:54 AM · Restricted Project, Restricted Project

Aug 15 2019

stephanemoore committed rGa53cce943d16: [clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛 (authored by stephanemoore).
[clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛
Aug 15 2019, 7:28 PM
stephanemoore committed rL369081: [clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛.
[clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛
Aug 15 2019, 7:28 PM
stephanemoore closed D66270: [clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛.
Aug 15 2019, 7:28 PM · Restricted Project, Restricted Project
stephanemoore committed rG8c90c1d2d57d: [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛 (authored by stephanemoore).
[clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛
Aug 15 2019, 6:52 PM
stephanemoore committed rL369076: [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛.
[clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛
Aug 15 2019, 6:51 PM
stephanemoore closed D66269: [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛.
Aug 15 2019, 6:51 PM · Restricted Project, Restricted Project

Aug 14 2019

stephanemoore updated the diff for D66270: [clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛.

Fix example matches in comment.

Aug 14 2019, 8:01 PM · Restricted Project, Restricted Project
stephanemoore created D66270: [clang-tidy] Migrate objc-super-self to use isDerivedFrom 🚛.
Aug 14 2019, 7:59 PM · Restricted Project, Restricted Project
stephanemoore added reviewers for D66269: [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛: aaron.ballman, gribozavr.
Aug 14 2019, 7:04 PM · Restricted Project, Restricted Project
stephanemoore created D66269: [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛.
Aug 14 2019, 7:01 PM · Restricted Project, Restricted Project

Aug 12 2019

stephanemoore committed rGa0a47d8ac113: [clang] Update isDerivedFrom to support Objective-C classes 🔍 (authored by stephanemoore).
[clang] Update isDerivedFrom to support Objective-C classes 🔍
Aug 12 2019, 4:24 PM
stephanemoore committed rL368632: [clang] Update isDerivedFrom to support Objective-C classes 🔍.
[clang] Update isDerivedFrom to support Objective-C classes 🔍
Aug 12 2019, 4:24 PM
stephanemoore closed D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.
Aug 12 2019, 4:23 PM · Restricted Project, Restricted Project

Aug 8 2019

stephanemoore added inline comments to D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.
Aug 8 2019, 6:31 PM · Restricted Project, Restricted Project
stephanemoore updated the diff for D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

Use llvm::SmallPtrSet to store the compatible aliases instead of std::set.
Fix a stray unit test failure in RegistryTest.cpp.

Aug 8 2019, 6:29 PM · Restricted Project, Restricted Project

Aug 7 2019

stephanemoore updated the diff for D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

Add tests for isDirectlyDerivedFrom.

Aug 7 2019, 6:56 PM · Restricted Project, Restricted Project
stephanemoore planned changes to D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

Whoops; forgot to add test cases for isDirectlyDerivedFrom 🤦 Will do that shortly.

Aug 7 2019, 6:15 PM · Restricted Project, Restricted Project
stephanemoore removed a reviewer for D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍: stephanemoore.
Aug 7 2019, 5:16 PM · Restricted Project, Restricted Project
stephanemoore added a comment to D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

I spent some time becoming familiar with how isDerivedFrom behaves for C++ classes. I think that I have managed to get the behavior for Objective-C classes to mirror that of C++ classes. Please let me know if I overlooked anything.

Aug 7 2019, 5:12 PM · Restricted Project, Restricted Project
stephanemoore updated the diff for D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

Update isDerivedFrom to match aliased types and compatibility aliases of
derived Objective-C classes.

Aug 7 2019, 5:06 PM · Restricted Project, Restricted Project

May 31 2019

stephanemoore committed rGec1982f07f5b: Revise the google-objc-global-variable-declaration check to match the style… (authored by stephanemoore).
Revise the google-objc-global-variable-declaration check to match the style…
May 31 2019, 4:39 PM
stephanemoore committed rL362279: Revise the google-objc-global-variable-declaration check to match the style….
Revise the google-objc-global-variable-declaration check to match the style…
May 31 2019, 4:38 PM
stephanemoore closed D62045: Revise the google-objc-global-variable-declaration check to match the style guide..
May 31 2019, 4:38 PM · Restricted Project, Restricted Project

May 29 2019

stephanemoore accepted D62045: Revise the google-objc-global-variable-declaration check to match the style guide..
May 29 2019, 8:45 PM · Restricted Project, Restricted Project

May 28 2019

stephanemoore added a comment to rL361907: Revise the google-objc-global-variable-declaration check to match the style….

I think your changeset caused a failure in this buildbot.
http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/18933
Failure : http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/18933/steps/ninja%20check%201/logs/stdio

May 28 2019, 8:43 PM
stephanemoore planned changes to D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.

Thanks for the input! I will get started on making changes accordingly.

May 28 2019, 8:24 PM · Restricted Project, Restricted Project
stephanemoore requested changes to D62045: Revise the google-objc-global-variable-declaration check to match the style guide..
May 28 2019, 7:32 PM · Restricted Project, Restricted Project
stephanemoore reopened D62045: Revise the google-objc-global-variable-declaration check to match the style guide..
May 28 2019, 7:32 PM · Restricted Project, Restricted Project
stephanemoore committed rG9ac757bf09a3: Rollback "Revise the google-objc-global-variable-declaration check to match the… (authored by stephanemoore).
Rollback "Revise the google-objc-global-variable-declaration check to match the…
May 28 2019, 7:22 PM
stephanemoore committed rL361914: Rollback "Revise the google-objc-global-variable-declaration check to match the….
Rollback "Revise the google-objc-global-variable-declaration check to match the…
May 28 2019, 7:22 PM
stephanemoore committed rCTE361914: Rollback "Revise the google-objc-global-variable-declaration check to match the….
Rollback "Revise the google-objc-global-variable-declaration check to match the…
May 28 2019, 7:22 PM
stephanemoore committed rG12e3726fadb0: Revise the google-objc-global-variable-declaration check to match the style… (authored by stephanemoore).
Revise the google-objc-global-variable-declaration check to match the style…
May 28 2019, 6:37 PM
stephanemoore committed rL361907: Revise the google-objc-global-variable-declaration check to match the style….
Revise the google-objc-global-variable-declaration check to match the style…
May 28 2019, 6:33 PM
stephanemoore committed rCTE361907: Revise the google-objc-global-variable-declaration check to match the style….
Revise the google-objc-global-variable-declaration check to match the style…
May 28 2019, 6:33 PM
stephanemoore closed D62045: Revise the google-objc-global-variable-declaration check to match the style guide..
May 28 2019, 6:33 PM · Restricted Project, Restricted Project
stephanemoore added a comment to D62045: Revise the google-objc-global-variable-declaration check to match the style guide..

It looks like all concerns have been addressed. Do you need me to land this commit for you?

May 28 2019, 1:47 PM · Restricted Project, Restricted Project

May 24 2019

stephanemoore requested review of D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍.
May 24 2019, 8:36 PM · Restricted Project, Restricted Project