Skip to content

Commit f55cd39

Browse files
committed
[C-index] Fix test when using Debug target & MSVC STL
Avoids a deadlock in "clang/test/Index/crash-recovery-modules.m" when building with the MSVC STL & _ITERATOR_DEBUG_LEVEL == 2 (meaning a DEBUG build) Differential Revision: https://reviews.llvm.org/D69959
1 parent b117ec8 commit f55cd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Frontend/FrontendOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class FrontendOptions {
366366
std::string ARCMTMigrateReportOut;
367367

368368
/// The input files and their types.
369-
std::vector<FrontendInputFile> Inputs;
369+
SmallVector<FrontendInputFile, 0> Inputs;
370370

371371
/// When the input is a module map, the original module map file from which
372372
/// that map was inferred, if any (for umbrella modules).

0 commit comments

Comments
 (0)