[llvm] r370614 - Fix MSVC unreferenced formal parameter warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 1 09:04:38 PDT 2019
Author: rksimon
Date: Sun Sep 1 09:04:38 2019
New Revision: 370614
URL: http://llvm.org/viewvc/llvm-project?rev=370614&view=rev
Log:
Fix MSVC unreferenced formal parameter warning. NFCI.
Modified:
llvm/trunk/include/llvm/ADT/StringExtras.h
Modified: llvm/trunk/include/llvm/ADT/StringExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringExtras.h?rev=370614&r1=370613&r2=370614&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringExtras.h (original)
+++ llvm/trunk/include/llvm/ADT/StringExtras.h Sun Sep 1 09:04:38 2019
@@ -345,7 +345,7 @@ inline void join_items_impl(std::string
join_items_impl(Result, Separator, std::forward<Args>(Items)...);
}
-inline size_t join_one_item_size(char C) { return 1; }
+inline size_t join_one_item_size(char) { return 1; }
inline size_t join_one_item_size(const char *S) { return S ? ::strlen(S) : 0; }
template <typename T> inline size_t join_one_item_size(const T &Str) {
More information about the llvm-commits
mailing list