]> granicus.if.org Git - clang/commit
Annotate LookupResult::clear() as LLVM_ATTRIBUTE_REINITIALIZES to silence bugprone...
authorFangrui Song <maskray@google.com>
Tue, 25 Sep 2018 08:07:42 +0000 (08:07 +0000)
committerFangrui Song <maskray@google.com>
Tue, 25 Sep 2018 08:07:42 +0000 (08:07 +0000)
commit35fee8ed33c7cb4d503e98fb2a460dee434fb0de
tree9fc5324b7d5edd30024f22a15aab988f12d32b82
parentf3fac30693ba521a38b91da1f9523cd2acc861c6
Annotate LookupResult::clear() as LLVM_ATTRIBUTE_REINITIALIZES to silence bugprone-use-after-move after rC342925

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D52446

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