This revision was automatically updated to reflect the committed changes.
Closed by commit rG82ddae061b4b: [clang-tidy] RenamerClangTidy now renames
dependent member expr when the member… (authored by njames93).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, thank you for this!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
njames93 updated this revision to Diff 262920.
njames93 marked 3 inline comments as done.
njames93 added a comment.
- Tweaked options to remove second virtual method
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
aaron.ballman added inline comments.
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h:44
+ virtual void storeCheckOptions(ClangTidyOptions::OptionMap ) {}
+
njames93 wrote:
> aaron.ballman wrote:
> > I'd appreciate some comments here
njames93 updated this revision to Diff 262865.
njames93 added a comment.
- Address nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 marked an inline comment as done.
njames93 added inline comments.
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h:44
+ virtual void storeCheckOptions(ClangTidyOptions::OptionMap ) {}
+
aaron.ballman wrote:
> I'd appreciate some
aaron.ballman added inline comments.
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp:186-188
+ NameLookup(const NamedDecl *ND) : Data(ND, false) {}
+ NameLookup(llvm::NoneType) : Data(nullptr, true) {}
+ NameLookup(std::nullptr_t) : Data(nullptr,
njames93 updated this revision to Diff 257151.
njames93 added a comment.
Clean up code and remove unrelated changes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 updated this revision to Diff 251231.
njames93 added a comment.
- rebase and small nit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 added a comment.
Ping
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
njames93 updated this revision to Diff 244601.
njames93 added a comment.
- Small refactor of code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 updated this revision to Diff 244087.
njames93 added a comment.
- Made AggressiveDependentMemberLookup option Global
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 updated this revision to Diff 243953.
njames93 added a comment.
- Simplified member expr restrictions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 added a comment.
Ping
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
njames93 added a comment.
I toyed with the idea of checking the access specifier for the dependent base
classes, but I'm pretty sure it doesn't matter. If the compile finds 2 look ups
in one base class it will pick the later dependancy regardless of whether its
private or not. And if the
merge_guards_bot added a comment.
{icon times-circle color=red} Unit tests: fail. 62347 tests passed, 1 failed
and 839 were skipped.
failed: libc++.std/containers/sequences/array/array_creation/to_array.fail.cpp
{icon check-circle color=green} clang-tidy: pass.
{icon check-circle
njames93 updated this revision to Diff 241515.
njames93 added a comment.
- Streamline memberExpr matchers
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 62329 tests passed, 0 failed
and 838 were skipped.
{icon check-circle color=green} clang-tidy: pass.
{icon check-circle color=green} clang-format: pass.
Build artifacts
njames93 updated this revision to Diff 241459.
njames93 added a comment.
- Fix clang tidy warning
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 62329 tests passed, 0 failed
and 838 were skipped.
{icon times-circle color=red} clang-tidy: fail. clang-tidy found 0 errors and 1
warnings
njames93 updated this revision to Diff 241449.
njames93 added a comment.
- Aggressive dependent lookup option added
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 62041 tests passed, 0 failed
and 783 were skipped.
{icon question-circle color=gray} clang-tidy: unknown.
{icon times-circle color=red} clang-format: fail. Please format your changes
with clang-format by
njames93 updated this revision to Diff 239253.
njames93 added a comment.
- Fix assertion causing failing tests in debug
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
merge_guards_bot added a comment.
{icon times-circle color=red} Unit tests: fail. 62040 tests passed, 1 failed
and 783 were skipped.
failed: Clang
Tools.clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
{icon question-circle color=gray} clang-tidy: unknown.
{icon
njames93 updated this revision to Diff 239218.
njames93 added a comment.
- rebase master figure out the llvm pre-merge lint test fail
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
merge_guards_bot added a comment.
{icon times-circle color=red} Unit tests: fail. 62026 tests passed, 1 failed
and 783 were skipped.
failed: Clang
Tools.clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
{icon question-circle color=gray} clang-tidy: unknown.
{icon
merge_guards_bot added a comment.
{icon times-circle color=red} Unit tests: fail. 62026 tests passed, 1 failed
and 783 were skipped.
failed: Clang
Tools.clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
{icon question-circle color=gray} clang-tidy: unknown.
{icon
njames93 updated this revision to Diff 239208.
njames93 added a comment.
- Added some sanity tests that fix weird crashes
- Added support for CXXMethodDecls that are referenced with depended scope
member expr
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
njames93 added a comment.
hmmm annoyingly this change causes a crash in a side project I'm creating,
gotta go bug hunting now
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 62027 tests passed, 0 failed
and 783 were skipped.
{icon question-circle color=gray} clang-tidy: unknown.
{icon times-circle color=red} clang-format: fail. Please format your changes
with clang-format by
njames93 updated this revision to Diff 239167.
njames93 marked 4 inline comments as done.
njames93 added a comment.
- Added not type template test case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
njames93 added inline comments.
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp:282
+: DepMemberRef->getBaseType();
+CXXRecordDecl *Base = BaseType.getTypePtr()->getAsCXXRecordDecl();
+if (!Base)
JonasToth
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 61955 tests passed, 0 failed
and 783 were skipped.
{icon question-circle color=gray} clang-tidy: unknown.
{icon times-circle color=red} clang-format: fail. Please format your changes
with clang-format by
merge_guards_bot added a comment.
{icon check-circle color=green} Unit tests: pass. 61955 tests passed, 0 failed
and 783 were skipped.
{icon question-circle color=gray} clang-tidy: unknown.
{icon times-circle color=red} clang-format: fail. Please format your changes
with clang-format by
JonasToth added inline comments.
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp:282
+: DepMemberRef->getBaseType();
+CXXRecordDecl *Base = BaseType.getTypePtr()->getAsCXXRecordDecl();
+if (!Base)
can
njames93 updated this revision to Diff 239150.
njames93 added a comment.
- replace auto when type isnt explicit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73052/new/
https://reviews.llvm.org/D73052
Files:
njames93 created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
njames93 retitled this revision from "First Draft" to "[clang-tidy]
RenamerClangTidy now renames dependent member expr when the member can be
resolved".
njames93 added reviewers: aaron.ballman,
37 matches
Mail list logo