[llvm-branch-commits] [llvm] ba0fc7e - [StringExtras] Fix comment typos (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jan 16 09:45:32 PST 2021


Author: Kazu Hirata
Date: 2021-01-16T09:40:51-08:00
New Revision: ba0fc7e1f8d57a7a7dce1a2d604b12e5210dc10f

URL: https://github.com/llvm/llvm-project/commit/ba0fc7e1f8d57a7a7dce1a2d604b12e5210dc10f
DIFF: https://github.com/llvm/llvm-project/commit/ba0fc7e1f8d57a7a7dce1a2d604b12e5210dc10f.diff

LOG: [StringExtras] Fix comment typos (NFC)

Added: 
    

Modified: 
    llvm/include/llvm/ADT/StringExtras.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/StringExtras.h b/llvm/include/llvm/ADT/StringExtras.h
index 10596cf82398..68e89508cba9 100644
--- a/llvm/include/llvm/ADT/StringExtras.h
+++ b/llvm/include/llvm/ADT/StringExtras.h
@@ -470,9 +470,9 @@ inline std::string join_items(Sep Separator, Args &&... Items) {
 /// list from a loop like so:
 ///
 /// \code
-///   ListSeparator SD;
+///   ListSeparator LS;
 ///   for (auto &I : C)
-///     OS << SD << I.getName();
+///     OS << LS << I.getName();
 /// \end
 class ListSeparator {
   bool First = true;


        


More information about the llvm-branch-commits mailing list