================
@@ -395,7 +395,7 @@ IncrementalCompilerBuilder::createOffload(bool device, 
OffloadType Type) {
 
   const bool HipEnabled = Type == OffloadType::HIP;
   std::vector<const char *> Argv;
-  Argv.reserve(5 + 4 + UserArgs.size());
+  Argv.reserve(5 + 5 + UserArgs.size());
----------------
vgvassilev wrote:

Can we move these magic numbers into a constant?

https://github.com/llvm/llvm-project/pull/242296
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to