Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Basic/Module.cpp | ||
|---|---|---|
| 175–176 | for (const Module *Parent = this; Parent; Parent = Parent->Parent) {
if (Parent == Other)
return true;
}? | |
| clang/lib/Basic/Module.cpp | ||
|---|---|---|
| 175–176 | That seems confusing... I would like to avoid giving a local variable the same name as an instance member. I can rename This to Current if that makes it clearer? | |
for (const Module *Parent = this; Parent; Parent = Parent->Parent) { if (Parent == Other) return true; }?