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.h | |
parent | a0b9f1f84b33b9546795697b1fbce2951acdc81a (diff) | |
download | llvm-1b162fabe8fa07b6758fe2bce51f0dc19dd6e265.zip llvm-1b162fabe8fa07b6758fe2bce51f0dc19dd6e265.tar.gz llvm-1b162fabe8fa07b6758fe2bce51f0dc19dd6e265.tar.bz2 |
[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.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index f5fd944..c5de947 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1505,7 +1505,7 @@ public: /// /// A most-base class of a class C is defined as a recursive base class of C, /// including C itself, that does not have any bases. - std::vector<const CXXRecordDecl *> + SmallVector<const CXXRecordDecl *, 0> getMostBaseClasses(const CXXRecordDecl *RD); /// Get the declaration of std::terminate for the platform. |