[lld] r281817 - [ELF] - Fixed mistypes in comments. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 17 00:31:49 PDT 2016


Author: grimar
Date: Sat Sep 17 02:31:49 2016
New Revision: 281817

URL: http://llvm.org/viewvc/llvm-project?rev=281817&view=rev
Log:
[ELF] - Fixed mistypes in comments. NFC.

Modified:
    lld/trunk/ELF/LinkerScript.h

Modified: lld/trunk/ELF/LinkerScript.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.h?rev=281817&r1=281816&r2=281817&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Sat Sep 17 02:31:49 2016
@@ -98,7 +98,7 @@ struct OutputSectionCommand : BaseComman
   ConstraintKind Constraint = ConstraintKind::NoConstraint;
 };
 
-// This struct reprents one section match pattern in SECTIONS() command.
+// This struct represents one section match pattern in SECTIONS() command.
 // It can optionally have negative match pattern for EXCLUDED_FILE command.
 struct SectionPattern {
   llvm::Regex ExcludedFileRe;
@@ -114,7 +114,7 @@ struct InputSectionDescription : BaseCom
   SortSectionPolicy SortOuter = SortSectionPolicy::Default;
   SortSectionPolicy SortInner = SortSectionPolicy::Default;
 
-  // Input sections that matches at lesat one of SectionPatterns
+  // Input sections that matches at least one of SectionPatterns
   // will be associated with this InputSectionDescription.
   // We use std::list instead of std::vector because SectionPattern
   // do not support move assignment.




More information about the llvm-commits mailing list