]> granicus.if.org Git - clang/commit
Module: emit initializers for C/ObjC after r276159.
authorManman Ren <manman.ren@gmail.com>
Thu, 13 Oct 2016 18:42:14 +0000 (18:42 +0000)
committerManman Ren <manman.ren@gmail.com>
Thu, 13 Oct 2016 18:42:14 +0000 (18:42 +0000)
commitd1494637bbb364bbf5bdb753e668c0323e4ec67b
tree2b1f33179a5c1b5258524f62ee4661e9126cd3be
parent9c9d4a4909de34b02fc881e76742301db8487f0b
Module: emit initializers for C/ObjC after r276159.

In r276159, we started to defer emitting initializers for VarDecls, but
forgot to add the initializers for non-C++ language.

rdar://28740482

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Modules/Inputs/objc-initializer/X.h [new file with mode: 0644]
test/Modules/Inputs/objc-initializer/module.modulemap [new file with mode: 0644]
test/Modules/objc-initializer.m [new file with mode: 0644]