diff options
| author | Fangrui Song <i@maskray.me> | 2023-07-25 13:13:35 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2023-07-25 13:13:35 -0700 |
| commit | 1b162fabe8fa07b6758fe2bce51f0dc19dd6e265 (patch) | |
| tree | 73f5fa1266ff8f5a14a9d6497e6732c557fdb323 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | a0b9f1f84b33b9546795697b1fbce2951acdc81a (diff) | |
[Support] Change SetVector's default template parameter to SmallVector<*, 0>
Similar to D156016 for MapVector.
This brings back commit fae7b98c221b5b28797f7b56b656b6b819d99f27 with a
fix to llvm/unittests/Support/ThreadPool.cpp's `_WIN32` code path.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 07a9dec12f6f..908dec42afab 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -2236,7 +2236,7 @@ static bool requiresMemberFunctionPointerTypeMetadata(CodeGenModule &CGM, !isa<CXXDestructorDecl>(MD); } -std::vector<const CXXRecordDecl *> +SmallVector<const CXXRecordDecl *, 0> CodeGenModule::getMostBaseClasses(const CXXRecordDecl *RD) { llvm::SetVector<const CXXRecordDecl *> MostBases; |
