[Openmp-commits] [llvm] [clang-tools-extra] [openmp] [clang-tidy] Add bugprone-move-shared-pointer-contents check. (PR #67467)
Julian Schmidt via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 4 06:41:28 PST 2023
5chmidti wrote:
> but there appears to be no way to introspect the UnresolvedLookupExpr to ensure I'm matching calls to `std::move`
Try searching for `unresolvedLookupExpr` & `UnresolvedLookupExpr` in the clang-tidy directory. There is a high probability that another check has done something related/similar.
https://github.com/llvm/llvm-project/blob/2b7191c8993b5608ddb8b89c049717b497265796/clang-tools-extra/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.cpp#L46-L47
And there is `OverloadExpr::decls`, which `UnresolvedLookupExpr` inherits (https://clang.llvm.org/doxygen/classclang_1_1UnresolvedLookupExpr.html).
https://github.com/llvm/llvm-project/pull/67467
More information about the Openmp-commits
mailing list