]> granicus.if.org Git - clang/commit
Remove redundant check for whether a DeclRefExpr that names a capture
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Jun 2019 17:50:37 +0000 (17:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Jun 2019 17:50:37 +0000 (17:50 +0000)
commite75ebf573f7f71e65e7bdfa288254237eb563255
tree56b7263f030a654575141f3e0b75c6915d7356ff
parent4bd25fda3f577f5c23687e7559a4f8af1d4db6c1
Remove redundant check for whether a DeclRefExpr that names a capture
constitutes an odr-use.

We now track this accurately on the DeclRefExpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp