summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2019-11-12 20:48:11 +0100
committerMark de Wever <koraq@xs4all.nl>2019-11-12 20:50:38 +0100
commit51abcebbb6e5c8f8befaa523ae873adecf2d1012 (patch)
tree4960b7249db18c505c22418075764f4311eb61a8 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent2149028c49f8af1f3d8a9d81b2081a2b302b2d9a (diff)
downloadbcm5719-llvm-51abcebbb6e5c8f8befaa523ae873adecf2d1012.tar.gz
bcm5719-llvm-51abcebbb6e5c8f8befaa523ae873adecf2d1012.zip
[OpenMP] Use an explicit copy in a range-based for
The std::pair<const clang::ValueDecl *, llvm::ArrayRef<clang::OMPClauseMappableExprCommon::MappableComponent>> type will be copied in a range-based for loop. Make the copy explicit to avoid the -Wrange-loop-analysis warning. This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall. Differential Revision: https://reviews.llvm.org/D70046
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud