]> granicus.if.org Git - clang/commit
Wdeprecated: Make Filter safely move constructible.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 13 Aug 2015 23:15:20 +0000 (23:15 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 13 Aug 2015 23:15:20 +0000 (23:15 +0000)
commit7f83e701f4a48112ba41e981a49febfc1a8423c1
tree5c3ff1e7b209dca25cfc6536b1d8a9808f5e4aed
parente714e1521457d024afa38bb70c0f16765faf7bcd
Wdeprecated: Make Filter safely move constructible.

makeFilter returns Filters by value which seems to be only safe when the
copy doesn't occur and RVO kicks in. Make the object safely movable to
support this more reliably.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244983 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Lookup.h