aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Sema/SemaDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 61cfa798c2..eb49b0c664 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -2449,8 +2449,8 @@ void Sema::HandleTransparentUnionAttribute(Decl *d, AttributeList *rawAttr) {
return;
}
- QualType QTy = Context.getTypeDeclType(decl);
- const RecordType *Ty = QTy->getAsUnionType();
+ //QualType QTy = Context.getTypeDeclType(decl);
+ //const RecordType *Ty = QTy->getAsUnionType();
// FIXME
// Ty->addAttr(new TransparentUnionAttr());