diff --git a/clang-tools-extra/clangd/CompileCommands.h b/clang-tools-extra/clangd/CompileCommands.h index 84c4c2a26a87..3efd80026cf6 100644 --- a/clang-tools-extra/clangd/CompileCommands.h +++ b/clang-tools-extra/clangd/CompileCommands.h @@ -12,6 +12,7 @@ #include "clang/Tooling/ArgumentsAdjusters.h" #include "clang/Tooling/CompilationDatabase.h" #include "llvm/ADT/StringMap.h" +#include #include #include @@ -92,7 +93,7 @@ private: const Rule *matchingRule(llvm::StringRef Arg, unsigned Mode, unsigned &ArgCount) const; llvm::SmallVector Rules; - std::vector Storage; // Store strings not found in option table. + std::deque Storage; // Store strings not found in option table. }; } // namespace clangd