[PATCH] D121176: [ASTStructuralEquivalence] Add support for comparing ObjCCategoryDecl.
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 7 18:12:43 PST 2022
shafik added a comment.
This make sense to me at a first pass, please make sure you run `check-lldb` as well.
================
Comment at: clang/lib/AST/ASTStructuralEquivalence.cpp:1971
+ return false;
+ unsigned SlotsToCheck = NumArgs > 0 ? NumArgs : 1;
+ for (unsigned I = 0; I < SlotsToCheck; ++I) {
----------------
I am curious what case are we catching here? Does `NumArgs` ever have the value `1`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121176/new/
https://reviews.llvm.org/D121176
More information about the cfe-commits
mailing list