Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47199 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp
index f4f7c3f..2f866c0 100644
--- a/Sema/SemaDecl.cpp
+++ b/Sema/SemaDecl.cpp
@@ -1945,7 +1945,7 @@
rawAttr->getAttributeName()->getName(),
FD->getType().getAsString());
else
- TD->addAttr(new PackedAttr);
+ FD->addAttr(new PackedAttr);
} else
Diag(rawAttr->getAttributeLoc(), diag::warn_attribute_ignored,
rawAttr->getAttributeName()->getName());