[Sema][ObjC] Use SmallSetVector to fix a failing test on the reverse
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 6 Feb 2018 23:44:40 +0000 (23:44 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 6 Feb 2018 23:44:40 +0000 (23:44 +0000)
commit4c687f38c6369de9ad2fe734b99abd743fa60026
tree9f17175b6dab58cdf8ed815e4cf029f7623eb1a6
parentcd07a3e2f9e7c35e90f82bc33cfec0be59c27568
[Sema][ObjC] Use SmallSetVector to fix a failing test on the reverse
iteration bot.

This commit reverts r315639, which was causing clang to print
diagnostics that weren't printed before. Instead, it declares
OverrideSearch::Overridden as a SmallSetVector to fix the
non-deterministic behavior r315639 was trying to fix.

rdar://problem/36445528

llvm-svn: 324425
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclObjC.cpp
clang/test/SemaObjC/arc-decls.m