[clang] 51328b7 - [NFC] Fix spelling of "definitely". (#104455)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 09:00:11 PDT 2024


Author: sp
Date: 2024-08-15T18:00:03+02:00
New Revision: 51328b78dc2b0be20e8d67f57f64445cec25162c

URL: https://github.com/llvm/llvm-project/commit/51328b78dc2b0be20e8d67f57f64445cec25162c
DIFF: https://github.com/llvm/llvm-project/commit/51328b78dc2b0be20e8d67f57f64445cec25162c.diff

LOG: [NFC] Fix spelling of "definitely". (#104455)

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

Added: 
    

Modified: 
    clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp

Removed: 
    


################################################################################
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