[clang] [NFC] Fix spelling of "definitely". (PR #104455)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 08:03:03 PDT 2024
https://github.com/sp44n created https://github.com/llvm/llvm-project/pull/104455
This corrects the misspelling of "definitely" as "definately". No functional changes.
>From fc7fddf969397396b5697f839e3e4b4ef4f280f4 Mon Sep 17 00:00:00 2001
From: sp <james at rooted.gg>
Date: Thu, 15 Aug 2024 16:02:49 +0100
Subject: [PATCH] [NFC] Fix spelling of "definitely".
This corrects the misspelling of "definitely" as "definately". No functional changes.
---
clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp
index 8f1c31763e212c..f50b5cd3c9e497 100644
--- a/clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp
@@ -48,7 +48,7 @@ bool StringChecker::isCharToStringCtor(const CallEvent &Call,
// Verify that the parameters have the expected types:
// - arg 1: `const CharT *`
- // - arg 2: some allocator - which is definately not `size_t`.
+ // - arg 2: some allocator - which is definitely not `size_t`.
const QualType Arg1Ty = Call.getArgExpr(0)->getType().getCanonicalType();
const QualType Arg2Ty = Call.getArgExpr(1)->getType().getCanonicalType();
More information about the cfe-commits
mailing list