]> granicus.if.org Git - clang/commitdiff
Fix "the the" in comments/documentation/etc.
authorEric Christopher <echristo@gmail.com>
Fri, 19 Jun 2015 01:52:53 +0000 (01:52 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 19 Jun 2015 01:52:53 +0000 (01:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240110 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Modules.rst
include/clang-c/Index.h
lib/AST/RecordLayoutBuilder.cpp
lib/Analysis/CFG.cpp
lib/CodeGen/CGCall.cpp
lib/Format/TokenAnnotator.cpp
lib/Sema/SemaStmt.cpp
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
lib/StaticAnalyzer/Core/CallEvent.cpp
www/analyzer/scan-build.html

index 5598c09a197601e6a5d846fd2cfba47d54365b4d..1f3d898975138f92af1bba1eedae9bfbca59ea54 100644 (file)
@@ -679,7 +679,7 @@ A *link-declaration* with the ``framework`` specifies that the linker should lin
 
 Configuration macros declaration
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The *config-macros-declaration* specifies the set of configuration macros that have an effect on the the API of the enclosing module.
+The *config-macros-declaration* specifies the set of configuration macros that have an effect on the API of the enclosing module.
 
 .. parsed-literal::
 
index c10cc66cb99822bba1a45f8807ed4512c0ae4ffd..a2241802078e25d9da7640fe679a0d8fbe562ae1 100644 (file)
@@ -5633,7 +5633,7 @@ typedef enum {
  * reused after indexing is finished. Set to \c NULL if you do not require it.
  *
  * \returns 0 on success or if there were errors from which the compiler could
- * recover.  If there is a failure from which the there is no recovery, returns
+ * recover.  If there is a failure from which there is no recovery, returns
  * a non-zero \c CXErrorCode.
  *
  * The rest of the parameters are the same as #clang_parseTranslationUnit.
@@ -5664,7 +5664,7 @@ CINDEX_LINKAGE int clang_indexSourceFile(CXIndexAction,
  *
  * The parameters are the same as #clang_indexSourceFile.
  * 
- * \returns If there is a failure from which the there is no recovery, returns
+ * \returns If there is a failure from which there is no recovery, returns
  * non-zero, otherwise returns 0.
  */
 CINDEX_LINKAGE int clang_indexTranslationUnit(CXIndexAction,
index 2101a5534a6bef977b2b8f5a02e586f7a608ab93..388c91c9cbc028fca06fd0342565ff264bb7b043 100644 (file)
@@ -1467,7 +1467,7 @@ void RecordLayoutBuilder::LayoutBitField(const FieldDecl *D) {
   // ms_struct basically requests a complete replacement of the
   // platform ABI's struct-layout algorithm, with the high-level goal
   // of duplicating MSVC's layout.  For non-bitfields, this follows
-  // the the standard algorithm.  The basic bitfield layout rule is to
+  // the standard algorithm.  The basic bitfield layout rule is to
   // allocate an entire unit of the bitfield's declared type
   // (e.g. 'unsigned long'), then parcel it up among successive
   // bitfields whose declared types have the same size, making a new
index b2fdd27879853e2b999702eb37c48922de4dac45..19b3f5a4765460a568518591cebd611d0a247c50 100644 (file)
@@ -454,7 +454,7 @@ private:
           TerminatorExpr(nullptr) {}
 
     /// Returns whether we need to start a new branch for a temporary destructor
-    /// call. This is the case when the the temporary destructor is
+    /// call. This is the case when the temporary destructor is
     /// conditionally executed, and it is the first one we encounter while
     /// visiting a subexpression - other temporary destructors at the same level
     /// will be added to the same block and are executed under the same
index 6903073266e61ead6854e7ccef042124a7760667..58ef171df0d75b1b5b8b93ed5c995610994165fb 100644 (file)
@@ -2610,7 +2610,7 @@ static void emitWritebackArg(CodeGenFunction &CGF, CallArgList &args,
   LValue srcLV;
 
   // Make an optimistic effort to emit the address as an l-value.
-  // This can fail if the the argument expression is more complicated.
+  // This can fail if the argument expression is more complicated.
   if (const Expr *lvExpr = maybeGetUnaryAddrOfOperand(CRE->getSubExpr())) {
     srcLV = CGF.EmitLValue(lvExpr);
 
index 985f59e5ee1b094e5c9c397598e0cb08622bd313..8d08c3d2622734961d0342c2d11f7b9834e05f17 100644 (file)
@@ -255,7 +255,7 @@ private:
 
     // A '[' could be an index subscript (after an identifier or after
     // ')' or ']'), it could be the start of an Objective-C method
-    // expression, or it could the the start of an Objective-C array literal.
+    // expression, or it could the start of an Objective-C array literal.
     FormatToken *Left = CurrentToken->Previous;
     Left->ParentBracket = Contexts.back().ContextKind;
     FormatToken *Parent = Left->getPreviousNonComment();
index 5c72529caa8a2e420d6d3c1554a139a8801ff06f..50e4345216a6ceb2a1fa8f83c771232460094ef9 100644 (file)
@@ -3432,7 +3432,7 @@ class CatchHandlerType {
 
 public:
   /// Used when creating a CatchHandlerType from a handler type; will determine
-  /// whether the type is a pointer or reference and will strip off the the top
+  /// whether the type is a pointer or reference and will strip off the top
   /// level pointer and cv-qualifiers.
   CatchHandlerType(QualType Q) : QT(Q), IsPointer(false) {
     if (QT->isPointerType())
index b906cc9e762418b294348429f1701b6eb3532967..fa7884f4a46256542b4d53c68f896e50e4ec4a19 100644 (file)
@@ -1529,7 +1529,7 @@ LikelyFalsePositiveSuppressionBRVisitor::getEndPath(BugReporterContext &BRC,
       return nullptr;
 
     } else {
-      // If the the complete 'std' suppression is not enabled, suppress reports
+      // If the complete 'std' suppression is not enabled, suppress reports
       // from the 'std' namespace that are known to produce false positives.
 
       // The analyzer issues a false use-after-free when std::list::pop_front
index f673544660064928f65dfb9539e377c86e16654d..8542f7d6a86b5a377c01ecd29edabe25b84cfcd9 100644 (file)
@@ -785,7 +785,7 @@ RuntimeDefinition ObjCMethodCall::getRuntimeDefinition() const {
 
   if (E->isInstanceMessage()) {
 
-    // Find the the receiver type.
+    // Find the receiver type.
     const ObjCObjectPointerType *ReceiverT = nullptr;
     bool CanBeSubClassed = false;
     QualType SupersType = E->getSuperType();
index 1a06f00913dd539658ddecbc57b701bc9f9cfa10..28723e64eb8001e748723c2a0cc02bb90816b711 100644 (file)
@@ -136,8 +136,7 @@ with MinGW/MSYS the following information may be helpful:</p>
 
 <ul>
  <li> If getting unexpected <tt>"fatal error: no input files"</tt> while 
-building with MSYS make from the Windows cmd, try one of the these 
-solutions:</li>
+building with MSYS make from the Windows cmd, try one of these solutions:</li>
  <ul>
  <li> Use MinGW <tt>mingw32-make</tt> instead of MSYS <tt>make</tt> and
 exclude the path to MSYS from PATH to prevent <tt>mingw32-make</tt> from using