]> granicus.if.org Git - clang/commit
CodeGen: Reference temporaries inherit visibility
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 29 Apr 2014 06:18:53 +0000 (06:18 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 29 Apr 2014 06:18:53 +0000 (06:18 +0000)
commitff5d94339ae995223526863d0f2cd21e1828d2f3
tree61841c739cd9eae183e46455f847dc393d0497a6
parent9102e00d24a2149414a5b527dffd91f209153cad
CodeGen: Reference temporaries inherit visibility

Reference temporaries inherited many properties from the variable that
they correspond to but visibility wasn't one of them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/const-init-cxx11.cpp