these fixme's are easy :)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41442 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGDecl.cpp b/CodeGen/CGDecl.cpp
index bbfad65..9fd0673 100644
--- a/CodeGen/CGDecl.cpp
+++ b/CodeGen/CGDecl.cpp
@@ -87,13 +87,11 @@
   if (const Expr *Init = D.getInit()) {
     if (!hasAggregateLLVMType(Init->getType())) {
       llvm::Value *V = EmitScalarExpr(Init);
-      // FIXME: Handle volatile.
-      Builder.CreateStore(V, DeclPtr);
+      Builder.CreateStore(V, DeclPtr, D.getType().isVolatileQualified());
     } else if (Init->getType()->isComplexType()) {
       EmitComplexExprIntoAddr(Init, DeclPtr);
     } else {
-      // FIXME: Handle volatile.
-      EmitAggExpr(Init, DeclPtr, false);
+      EmitAggExpr(Init, DeclPtr, D.getType().isVolatileQualified());
     }
   }
 }