diff options
author | Fangrui Song <i@maskray.me> | 2023-07-25 00:39:17 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-07-25 00:39:17 -0700 |
commit | fae7b98c221b5b28797f7b56b656b6b819d99f27 (patch) | |
tree | 5d221141811ead2dbd26f5b88e65239774c40300 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 245ec675a4e41f7ec24dfc998720bffdc46a6c53 (diff) | |
download | llvm-fae7b98c221b5b28797f7b56b656b6b819d99f27.zip llvm-fae7b98c221b5b28797f7b56b656b6b819d99f27.tar.gz llvm-fae7b98c221b5b28797f7b56b656b6b819d99f27.tar.bz2 |
[Support] Change SetVector's default template parameter to SmallVector<*, 0>
Similar to D156016 for MapVector.
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. |