summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 61cfa798c27..eb49b0c6648 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/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());
OpenPOWER on IntegriCloud