[llvm] 38eea57 - [ADT] fix grammatical typo in Twine.h docs, NFC

Cyndy Ishida via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 15:00:51 PST 2023


Author: Cyndy Ishida
Date: 2023-12-21T14:59:14-08:00
New Revision: 38eea57e69a8a01e38e8dbc38614043a4553acb1

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

LOG: [ADT] fix grammatical typo in Twine.h docs, NFC

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/Twine.h b/llvm/include/llvm/ADT/Twine.h
index 8dfbe4f72e07de..1f1fd1967efbc9 100644
--- a/llvm/include/llvm/ADT/Twine.h
+++ b/llvm/include/llvm/ADT/Twine.h
@@ -37,7 +37,7 @@ namespace llvm {
   /// A Twine is not intended for use directly and should not be stored, its
   /// implementation relies on the ability to store pointers to temporary stack
   /// objects which may be deallocated at the end of a statement. Twines should
-  /// only be used accepted as const references in arguments, when an API wishes
+  /// only be used as const references in arguments, when an API wishes
   /// to accept possibly-concatenated strings.
   ///
   /// Twines support a special 'null' value, which always concatenates to form


        


More information about the llvm-commits mailing list