aboutsummaryrefslogtreecommitdiff
path: root/lld/include/lld/Common/Strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/include/lld/Common/Strings.h')
-rw-r--r--lld/include/lld/Common/Strings.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/include/lld/Common/Strings.h b/lld/include/lld/Common/Strings.h
index 38d93e01c0b9..71126f615017 100644
--- a/lld/include/lld/Common/Strings.h
+++ b/lld/include/lld/Common/Strings.h
@@ -32,7 +32,7 @@ void saveBuffer(llvm::StringRef buffer, const llvm::Twine &path);
// glob pattern in the sense of GlobPattern.
class SingleStringMatcher {
public:
- // Create a StringPattern from Pattern to be matched exactly irregardless
+ // Create a StringPattern from Pattern to be matched exactly regardless
// of globbing characters if ExactMatch is true.
SingleStringMatcher(llvm::StringRef Pattern);
@@ -45,8 +45,7 @@ public:
}
private:
- // Whether to do an exact match irregardless of the presence of wildcard
- // character.
+ // Whether to do an exact match regardless of wildcard characters.
bool ExactMatch;
// GlobPattern object if not doing an exact match.