[PATCH] D86671: [clang-tidy] Add new case type to check variables with Hungarian notation
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 12 10:23:57 PDT 2021
njames93 added a comment.
I think the best method is to
In D86671#2750957 <https://reviews.llvm.org/D86671#2750957>, @dougpuob wrote:
> Hi @njames93:
> Could you do me a favor? Because it is my first patch, something I'm not sure. I'm confused about can I land this patch now? I read the "LLVM Code-Review Policy and Practices" document, it said patches can be landed if received a LGTM, but seems you are still reviewing.
If you have made significant changes (excluding what a reviewer asks when giving an LGTM) Its best to get those further changes also reviewed.
================
Comment at: clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp:348
+getFileStyleFromOptions(const ClangTidyCheck::OptionsView &Options,
+ ClangTidyContext &Context) {
+ IdentifierNamingCheck::HungarianNotationOption HNOption;
----------------
Rather than passing the ClangTidyContext, Make this function a method of IdentifierNamingCheck. Then you call create the Diag without worrying about the Context.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86671/new/
https://reviews.llvm.org/D86671
More information about the cfe-commits
mailing list