aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-01-27 16:15:22 +0000
committerMichael Buch <michaelbuch12@gmail.com>2025-01-27 16:15:30 +0000
commit5f5cdf40382f06a8c417c42ec591f97aa76eeb67 (patch)
treea8b444f1090c8e2e82679067686d750edcccdf6f /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent09a29fcc8dbbb2cc1c0fdf26ef4f8fafab4e03d9 (diff)
downloadllvm-5f5cdf40382f06a8c417c42ec591f97aa76eeb67.zip
llvm-5f5cdf40382f06a8c417c42ec591f97aa76eeb67.tar.gz
llvm-5f5cdf40382f06a8c417c42ec591f97aa76eeb67.tar.bz2
[lldb][TypeSystemClang] CreateParameterDeclarations: don't specify SmallVector size
This was causing Ubuntu buildbot failures: ``` /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp: In member function ‘llvm::SmallVector<clang::ParmVarDecl*> lldb_private::TypeSystemClang::CreateParameterDeclarations(clang::FunctionDecl*, const clang::FunctionProtoType&, const llvm::SmallVector<llvm::StringRef>&)’: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:7728:10: error: could not convert ‘params’ from ‘SmallVector<[...],12>’ to ‘SmallVector<[...],6>’ 7728 | return params; | ^~~~~~ | | | SmallVector<[...],12> ``` It's unclear why 12 was chosen here. Given we don't set the size in other places where we parse parameters, this patch just removes the constant.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions