Fix some cases were ArrayRefs were being passed by reference.
llvm-svn: 216527
This commit is contained in:
@@ -3129,7 +3129,7 @@ void VFTableBuilder::dumpLayout(raw_ostream &Out) {
|
||||
}
|
||||
|
||||
static bool setsIntersect(const llvm::SmallPtrSet<const CXXRecordDecl *, 4> &A,
|
||||
const ArrayRef<const CXXRecordDecl *> &B) {
|
||||
ArrayRef<const CXXRecordDecl *> B) {
|
||||
for (ArrayRef<const CXXRecordDecl *>::iterator I = B.begin(), E = B.end();
|
||||
I != E; ++I) {
|
||||
if (A.count(*I))
|
||||
|
||||
Reference in New Issue
Block a user