We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7678e43 commit 4f13de3Copy full SHA for 4f13de3
lib/TBDGen/TBDGen.cpp
@@ -360,8 +360,7 @@ void TBDGenVisitor::visitClassDecl(ClassDecl *CD) {
360
continue;
361
362
auto var = dyn_cast<VarDecl>(value);
363
- auto hasFieldOffset =
364
- !isGeneric && var && var->hasStorage() && !var->isStatic();
+ auto hasFieldOffset = var && var->hasStorage() && !var->isStatic();
365
if (hasFieldOffset) {
366
// FIXME: a field only has one sort of offset, but it is moderately
367
// non-trivial to compute which one. Including both is less painful than
0 commit comments