SuccessChanges

Summary

  1. [AST] Use an explicit copy in a range-based for (details)
  2. [OpenMP] Use an explicit copy in a range-based for (details)
Commit 2149028c49f8af1f3d8a9d81b2081a2b302b2d9a by koraq
[AST] Use an explicit copy in a range-based for
The AssociationIteratorTy 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/D70045
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/AST/StmtDataCollectors.td
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
Commit 51abcebbb6e5c8f8befaa523ae873adecf2d1012 by koraq
[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
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp