Page MenuHomePhabricator
Feed Advanced Search

Apr 10 2023

amurzeau added a comment to D144510: [clang-tidy] improve readability-identifier-naming hungarian options test.

Hi @amurzeau

I missed the review before landing. I have a suggestion regarding the customized prefix "cust" because it confused me when I found the Hungarian notation patterns in the output message. Perhaps using "my" instead of "cust" would improve readability.

Take some examples:

  • const char *custszNamePtr = "Name"; --> myszNamePtr
  • uint8_t custu8ValueU8 = 0; --> myu8ValueU8
  • DWORD custdwMsDword = 0; --> mydwMsDword
Apr 10 2023, 1:11 PM · Restricted Project, Restricted Project
amurzeau accepted D147779: [clang-tidy] Fix hungarian notation failed to indicate the number of asterisks in check-clang-extra-clang-tidy-checkers-readability.

Thanks ! LGTM, nothing to add.

Apr 10 2023, 1:10 PM · Restricted Project, Restricted Project

Mar 18 2023

amurzeau added a comment to D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

Looks great, approved! Thanks for fixing :)

Mar 18 2023, 2:58 PM · Restricted Project, Restricted Project
amurzeau added a comment to D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

Looks good but I fail to understand what exactly the patch fixes, can you point me to an example in the tests?

The patch fixes these enum tests in C language mode:

enum REV_TYPE { RevValid };
// CHECK-MESSAGES: :[[@LINE-1]]:17: warning: invalid case style for enum constant 'RevValid' [readability-identifier-naming]
// CHECK-FIXES: {{^}}enum REV_TYPE { rtRevValid };
Mar 18 2023, 9:21 AM · Restricted Project, Restricted Project

Mar 6 2023

amurzeau added a comment to D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

Hi, thanks PiotrZSL, the build is now passed and is green.

Mar 6 2023, 11:30 AM · Restricted Project, Restricted Project

Feb 28 2023

amurzeau added a comment to D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

I see the build is still marked as failed in phabricator, but succeed in buildkite, do I need to do something, like a rebuild ?

Feb 28 2023, 1:41 PM · Restricted Project, Restricted Project
amurzeau updated the diff for D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

Fix clang-format error, release notes and factorize typedefs in tests.

Feb 28 2023, 11:42 AM · Restricted Project, Restricted Project

Feb 27 2023

amurzeau updated the diff for D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.

Update the release notes too, to notify of this changes with C files.

Feb 27 2023, 2:07 PM · Restricted Project, Restricted Project
amurzeau requested review of D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C.
Feb 27 2023, 1:56 PM · Restricted Project, Restricted Project

Feb 25 2023

amurzeau requested review of D144790: [clang-tidy] readability-identifier-naming.HungarianNotation: rename CharPrinter to CharPointer.
Feb 25 2023, 2:32 PM · Restricted Project, Restricted Project

Feb 24 2023

amurzeau updated the diff for D144510: [clang-tidy] improve readability-identifier-naming hungarian options test.

Rebase on main

Feb 24 2023, 10:46 AM · Restricted Project, Restricted Project

Feb 23 2023

amurzeau added a comment to D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options.

Alright, sounds good, thanks for the clarification! Then I misunderstood the change in the tests and indeed it belonged together in this patch, sorry for the confusion. I have approved both patches so we can land them now. Can you land the patch or would you like me to do it for you? If so please provide name and email (same as your Github account) for attribution.

Feb 23 2023, 1:34 PM · Restricted Project, Restricted Project

Feb 22 2023

amurzeau added inline comments to D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options.
Feb 22 2023, 11:30 AM · Restricted Project, Restricted Project

Feb 21 2023

amurzeau added reviewers for D144510: [clang-tidy] improve readability-identifier-naming hungarian options test: njames93, alexfh, kazu, dougpuob, aaron.ballman, carlosgalvezp.
Feb 21 2023, 11:20 AM · Restricted Project, Restricted Project
amurzeau requested review of D144510: [clang-tidy] improve readability-identifier-naming hungarian options test.
Feb 21 2023, 11:19 AM · Restricted Project, Restricted Project
amurzeau updated the diff for D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options.

Add a release note for this fix.

Feb 21 2023, 10:59 AM · Restricted Project, Restricted Project
amurzeau updated the diff for D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options.

Remove test changes, I will make a different patch for that.

Feb 21 2023, 10:46 AM · Restricted Project, Restricted Project

Feb 20 2023

amurzeau requested review of D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options.
Feb 20 2023, 2:00 PM · Restricted Project, Restricted Project
amurzeau added a comment to D144422: [clang-tidy] update docs for new hungarian identifier-naming types (unsigned char and void).

I don't have commit access to the repo, so please commit this for me when accepted. Thanks!

Feb 20 2023, 11:52 AM · Restricted Project, Restricted Project
amurzeau requested review of D144422: [clang-tidy] update docs for new hungarian identifier-naming types (unsigned char and void).
Feb 20 2023, 11:51 AM · Restricted Project, Restricted Project
amurzeau added a comment to D144041: [clang-tidy] add primitive types for hungarian identifier-naming (unsigned char and void).

I do not have commit access to the repo, can someone commit this patch for me ? (after D144037)

Feb 20 2023, 11:00 AM · Restricted Project, Restricted Project
amurzeau added a comment to D144037: [clang-tidy] allow tests to use --config-file instead of --config.

I do not have commit access to the repo, can someone commit this patch for me ?

Feb 20 2023, 10:59 AM · Restricted Project, Restricted Project

Feb 15 2023

amurzeau updated the diff for D144037: [clang-tidy] allow tests to use --config-file instead of --config.

Allow use of --config and --config-file (with double dashes)

Feb 15 2023, 12:54 PM · Restricted Project, Restricted Project

Feb 14 2023

amurzeau requested review of D144041: [clang-tidy] add primitive types for hungarian identifier-naming (unsigned char and void).
Feb 14 2023, 1:25 PM · Restricted Project, Restricted Project
amurzeau updated the summary of D144037: [clang-tidy] allow tests to use --config-file instead of --config.
Feb 14 2023, 11:55 AM · Restricted Project, Restricted Project
amurzeau requested review of D144037: [clang-tidy] allow tests to use --config-file instead of --config.
Feb 14 2023, 11:53 AM · Restricted Project, Restricted Project