]> granicus.if.org Git - clang/commit
Do not walk through member-accesses on bitfields when looking for the object
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 3 Jun 2013 07:13:35 +0000 (07:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 3 Jun 2013 07:13:35 +0000 (07:13 +0000)
commitd1b55dcf6bd61d4350b01e15590bde9bb5a334bb
treef06529b4fe4a70c535aa96cc1ca5bad14d98a20b
parent8a66bf78becf05a24e8251379f3843d1fceb627f
Do not walk through member-accesses on bitfields when looking for the object
which is lifetime-extended by a reference binding. An additional temporary is
created for such a bitfield access (although we have no explicit AST
representation for it).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183095 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
test/CodeGenCXX/temporaries.cpp