diff options
author | Kirill Bobyrev <kbobyrev@google.com> | 2020-12-10 13:36:35 +0100 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev@google.com> | 2020-12-10 13:36:49 +0100 |
commit | ee02e20c0817745c47ea9be8e26e9a49afc9a7fd (patch) | |
tree | 3ee858561b2d79bb23bed1eafc798fa0459c77cd /clang-tools-extra/clangd/ConfigCompile.cpp | |
parent | 0447f3508f0217e06b4acaaec0937091d071100a (diff) | |
download | llvm-ee02e20c0817745c47ea9be8e26e9a49afc9a7fd.tar.gz |
[clangd] NFC: Use SmallVector<T> where possible
SmallVector<T> with default size is now the recommended version (D92522).
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D92788
Diffstat (limited to 'clang-tools-extra/clangd/ConfigCompile.cpp')
-rw-r--r-- | clang-tools-extra/clangd/ConfigCompile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/ConfigCompile.cpp b/clang-tools-extra/clangd/ConfigCompile.cpp index 846c6a170b38..b1189e286826 100644 --- a/clang-tools-extra/clangd/ConfigCompile.cpp +++ b/clang-tools-extra/clangd/ConfigCompile.cpp @@ -137,7 +137,7 @@ struct FragmentCompiler { llvm::StringRef EnumName; const Located<std::string> &Input; llvm::Optional<T> Result; - llvm::SmallVector<llvm::StringLiteral, 8> ValidValues; + llvm::SmallVector<llvm::StringLiteral> ValidValues; public: EnumSwitch(llvm::StringRef EnumName, const Located<std::string> &In, |