aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-07-25 10:21:58 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-07-25 10:22:08 +0100
commit3d83912c0c7be63d24e54792b300f394931a363b (patch)
tree4a883027d6fa349db52e14836e8b9a01e2989614 /clang/lib/CodeGen/CodeGenModule.h
parent9e44ba650c8bef5cb0a0e3c2dfd2b9b8eef373a4 (diff)
downloadllvm-3d83912c0c7be63d24e54792b300f394931a363b.zip
llvm-3d83912c0c7be63d24e54792b300f394931a363b.tar.gz
llvm-3d83912c0c7be63d24e54792b300f394931a363b.tar.bz2
Revert rGfae7b98c221b5b28797f7b56b656b6b819d99f27 "[Support] Change SetVector's default template parameter to SmallVector<*, 0>"
This is failing on Windows MSVC builds: llvm\unittests\Support\ThreadPool.cpp(380): error C2440: 'return': cannot convert from 'Vector' to 'std::vector<llvm::BitVector,std::allocator<llvm::BitVector>>' with [ Vector=llvm::SmallVector<llvm::BitVector,0> ]
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index c5de947..f5fd944 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.
- SmallVector<const CXXRecordDecl *, 0>
+ std::vector<const CXXRecordDecl *>
getMostBaseClasses(const CXXRecordDecl *RD);
/// Get the declaration of std::terminate for the platform.