File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 46
46
#include " llvm/ADT/APSInt.h"
47
47
#include " llvm/ADT/ArrayRef.h"
48
48
#include " llvm/ADT/MapVector.h"
49
+ #include " llvm/ADT/SmallPtrSet.h"
49
50
#include " llvm/ADT/SmallSet.h"
50
51
#include " llvm/ADT/SmallString.h"
51
52
#include " llvm/ADT/SmallVector.h"
@@ -774,7 +775,7 @@ void AddVirtualMethodLinksImpl(
774
775
const DefiningSuperBasesToMethods& defining_super_bases_to_methods,
775
776
EntityId child_id, InMemoryIndex& index,
776
777
EntityIdByDecl&& get_entity_id_for_decl, const clang::ASTContext& context) {
777
- llvm::SmallSet <const clang::CXXRecordDecl*, 32 > seen;
778
+ llvm::SmallPtrSet <const clang::CXXRecordDecl*, 32 > seen;
778
779
llvm::SmallVector<const clang::CXXRecordDecl*, 32 > to_visit;
779
780
auto add_bases_to_visit = [&to_visit,
780
781
&seen](const clang::CXXRecordDecl* class_decl) {
You can’t perform that action at this time.
0 commit comments