]> granicus.if.org Git - clang/commitdiff
[NFC] fix trivial typos in comments
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 22 Jan 2018 07:44:38 +0000 (07:44 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 22 Jan 2018 07:44:38 +0000 (07:44 +0000)
"the the" -> "the"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323078 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
lib/StaticAnalyzer/Checkers/GTestChecker.cpp
test/Analysis/copypaste/macro-complexity.cpp
test/Analysis/malloc-custom.c
utils/analyzer/SATestAdd.py
www/cxx_status.html

index 2818c9d9fd4aeeb8835dbdc26b9038e05ea1f811..b67ba7e9f4c92e806850b1eaf840507245645b2d 100644 (file)
@@ -645,7 +645,7 @@ ObjCDeallocChecker::findPropertyOnDeallocatingInstance(
 bool ObjCDeallocChecker::diagnoseExtraRelease(SymbolRef ReleasedValue,
                                               const ObjCMethodCall &M,
                                               CheckerContext &C) const {
-  // Try to get the region from which the the released value was loaded.
+  // Try to get the region from which the released value was loaded.
   // Note that, unlike diagnosing for missing releases, here we don't track
   // values that must not be released in the state. This is because even if
   // these values escape, it is still an error under the rules of MRR to
index f0be41b293e458fe781359b0df5eb9dd9e943422..3ef95e673b87e6a35c679daf9bfce4102fe48cee 100644 (file)
@@ -161,7 +161,7 @@ void GTestChecker::modelAssertionResultCopyConstructor(
     const CXXConstructorCall *Call, CheckerContext &C) const {
   assert(Call->getNumArgs() == 1);
 
-  // The first parameter of the the copy constructor must be the other
+  // The first parameter of the copy constructor must be the other
   // instance to initialize this instances fields from.
   SVal OtherVal = Call->getArgSVal(0);
   SVal ThisVal = Call->getCXXThisVal();
index 70d3f0c748203269efd3c500327c5397ee0f1a44..db90236d0a16ea6fff3cae4b25875045474a6242 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: %clang_analyze_cc1 -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify %s
 
 // Tests that the complexity value of a macro expansion is about the same as
-// the complexity value of a normal function call and the the macro body doesn't
+// the complexity value of a normal function call and the macro body doesn't
 // influence the complexity. See the CloneSignature class in CloneDetection.h
 // for more information about complexity values of clones.
 
index f33b150de67880734decb5ad27cc59ad0c9601cc..053d0ee31ca89bd10c229d923f8ea64763e6ffc8 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Malloc -Wno-incompatible-library-redeclaration -verify %s
 
-// Various tests to make the the analyzer is robust against custom
+// Various tests to make the analyzer is robust against custom
 // redeclarations of memory routines.
 //
 // You wouldn't expect to see much of this in normal code, but, for example,
index 4c3e35cdcb5d79cdc3986c7c4e95bcbdccf7df81..041b24409fe35de2984afc53d5b0fc470ff6aec7 100755 (executable)
@@ -32,11 +32,11 @@ the Repository Directory.
                                      (e.g., to adapt to newer version of clang)
                                      that should be applied to CachedSource
                                      before analysis. To construct this patch,
-                                     run the the download script to download
+                                     run the download script to download
                                      the project to CachedSource, copy the
                                      CachedSource to another directory (for
                                      example, PatchedSource) and make any
-                                     needed modifications to the the copied
+                                     needed modifications to the copied
                                      source.
                                      Then run:
                                           diff -ur CachedSource PatchedSource \
index 265e22636296cdee8a72fa2c6359278919baa801..ed9a339c178a9e0180ea21d7c0fd23b9a392e8a9 100644 (file)
@@ -766,7 +766,7 @@ left to right in the callee. As a result, function parameters in calls to
 functions using expression syntax are no longer guaranteed to be destroyed in
 reverse construction order in that ABI.
 </span><br>
-<span id="p0522">(12): Despite being the the resolution to a Defect Report, this
+<span id="p0522">(12): Despite being the resolution to a Defect Report, this
 feature is disabled by default in all language versions, and can be enabled
 explicitly with the flag <tt>-frelaxed-template-template-args</tt> in Clang 4
 onwards.