llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-static-analyzer-1

Author: sp (sp44n)

<details>
<summary>Changes</summary>

This corrects the misspelling of "definitely" as "definately".  No functional 
changes.

---
Full diff: https://github.com/llvm/llvm-project/pull/104455.diff


1 Files Affected:

- (modified) clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp (+1-1) 


``````````diff
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();
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/104455
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to