[cfe-commits] r160622 - in /cfe/trunk: docs/ include/clang-c/ include/clang/AST/ include/clang/Basic/ include/clang/Lex/ include/clang/Sema/ include/clang/Serialization/ lib/ARCMigrate/ lib/AST/ lib/Analysis/ lib/CodeGen/ lib/Frontend/ lib/Lex/ l
Sean Silva
silvas at purdue.edu
Mon Jul 23 14:13:15 PDT 2012
Wow, I'm surprised by how many instances of this typo there are (were :-)!
--Sean Silva
On Mon, Jul 23, 2012 at 1:59 AM, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Author: sylvestre
> Date: Mon Jul 23 03:59:39 2012
> New Revision: 160622
>
> URL: http://llvm.org/viewvc/llvm-project?rev=160622&view=rev
> Log:
> Fix a typo (the the => the)
>
> Modified:
> cfe/trunk/docs/InternalsManual.html
> cfe/trunk/include/clang-c/Index.h
> cfe/trunk/include/clang/AST/CommentLexer.h
> cfe/trunk/include/clang/Basic/DiagnosticIDs.h
> cfe/trunk/include/clang/Basic/SourceManager.h
> cfe/trunk/include/clang/Lex/HeaderSearch.h
> cfe/trunk/include/clang/Sema/Sema.h
> cfe/trunk/include/clang/Serialization/ASTReader.h
> cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp
> cfe/trunk/lib/AST/Decl.cpp
> cfe/trunk/lib/AST/VTableBuilder.cpp
> cfe/trunk/lib/Analysis/ThreadSafety.cpp
> cfe/trunk/lib/CodeGen/CGObjC.cpp
> cfe/trunk/lib/Frontend/TextDiagnostic.cpp
> cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp
> cfe/trunk/lib/Lex/HeaderSearch.cpp
> cfe/trunk/lib/Lex/PPMacroExpansion.cpp
> cfe/trunk/lib/Lex/TokenLexer.cpp
> cfe/trunk/lib/Parse/ParseDecl.cpp
> cfe/trunk/lib/Sema/SemaChecking.cpp
> cfe/trunk/lib/Sema/SemaDeclCXX.cpp
> cfe/trunk/lib/Sema/SemaLookup.cpp
> cfe/trunk/lib/Sema/SemaOverload.cpp
> cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
> cfe/trunk/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
> cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp
> cfe/trunk/test/Modules/cstd.m
> cfe/trunk/test/Sema/conditional-expr.c
> cfe/trunk/test/SemaObjC/continuation-class-err.m
> cfe/trunk/www/get_started.html
>
> Modified: cfe/trunk/docs/InternalsManual.html
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.html?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/docs/InternalsManual.html (original)
> +++ cfe/trunk/docs/InternalsManual.html Mon Jul 23 03:59:39 2012
> @@ -361,7 +361,7 @@
> <tr><td colspan="2"><b>"diff" format</b></td></tr>
> <tr><td>Example:</td><td><tt>"no known conversion %diff{from | to | }1,2"</tt></td></tr>
> <tr><td>Class:</td><td>QualType</td></tr>
> -<tr><td>Description</td><td><p>This formatter takes two QualTypes and attempts to print a template difference between the two. If tree printing is off, the text inside the the braces before the pipe is printed, with the formatted text replacing the $. If tree printing is on, the text after the pipe is printed and a type tree is printed after the diagnostic message.
> +<tr><td>Description</td><td><p>This formatter takes two QualTypes and attempts to print a template difference between the two. If tree printing is off, the text inside the braces before the pipe is printed, with the formatted text replacing the $. If tree printing is on, the text after the pipe is printed and a type tree is printed after the diagnostic message.
> </p></td></tr>
>
> </table>
>
> Modified: cfe/trunk/include/clang-c/Index.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang-c/Index.h (original)
> +++ cfe/trunk/include/clang-c/Index.h Mon Jul 23 03:59:39 2012
> @@ -2788,7 +2788,7 @@
> CINDEX_LINKAGE CXType clang_getArrayElementType(CXType T);
>
> /**
> - * \brief Return the the array size of a constant array.
> + * \brief Return the array size of a constant array.
> *
> * If a non-array type is passed in, -1 is returned.
> */
>
> Modified: cfe/trunk/include/clang/AST/CommentLexer.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentLexer.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/AST/CommentLexer.h (original)
> +++ cfe/trunk/include/clang/AST/CommentLexer.h Mon Jul 23 03:59:39 2012
> @@ -270,7 +270,7 @@
> /// Registered verbatim-like block commands.
> VerbatimBlockCommandVector VerbatimBlockCommands;
>
> - /// If State is LS_VerbatimBlock, contains the the name of verbatim end
> + /// If State is LS_VerbatimBlock, contains the name of verbatim end
> /// command, including command marker.
> SmallString<16> VerbatimBlockEndCommandName;
>
>
> Modified: cfe/trunk/include/clang/Basic/DiagnosticIDs.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticIDs.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/DiagnosticIDs.h (original)
> +++ cfe/trunk/include/clang/Basic/DiagnosticIDs.h Mon Jul 23 03:59:39 2012
> @@ -190,7 +190,7 @@
> /// category.
> static bool isARCDiagnostic(unsigned DiagID);
>
> - /// \brief Enumeration describing how the the emission of a diagnostic should
> + /// \brief Enumeration describing how the emission of a diagnostic should
> /// be treated when it occurs during C++ template argument deduction.
> enum SFINAEResponse {
> /// \brief The diagnostic should not be reported, but it should cause
>
> Modified: cfe/trunk/include/clang/Basic/SourceManager.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/SourceManager.h (original)
> +++ cfe/trunk/include/clang/Basic/SourceManager.h Mon Jul 23 03:59:39 2012
> @@ -779,7 +779,7 @@
> const llvm::MemoryBuffer *Buffer,
> bool DoNotFree = false);
>
> - /// \brief Override the the given source file with another one.
> + /// \brief Override the given source file with another one.
> ///
> /// \param SourceFile the source file which will be overriden.
> ///
>
> Modified: cfe/trunk/include/clang/Lex/HeaderSearch.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/HeaderSearch.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Lex/HeaderSearch.h (original)
> +++ cfe/trunk/include/clang/Lex/HeaderSearch.h Mon Jul 23 03:59:39 2012
> @@ -409,7 +409,7 @@
> bool isFileMultipleIncludeGuarded(const FileEntry *File);
>
> /// CreateHeaderMap - This method returns a HeaderMap for the specified
> - /// FileEntry, uniquing them through the the 'HeaderMaps' datastructure.
> + /// FileEntry, uniquing them through the 'HeaderMaps' datastructure.
> const HeaderMap *CreateHeaderMap(const FileEntry *FE);
>
> /// \brief Retrieve the name of the module file that should be used to
>
> Modified: cfe/trunk/include/clang/Sema/Sema.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Sema/Sema.h (original)
> +++ cfe/trunk/include/clang/Sema/Sema.h Mon Jul 23 03:59:39 2012
> @@ -3247,7 +3247,7 @@
> TypeResult Type);
>
> /// InitializeVarWithConstructor - Creates an CXXConstructExpr
> - /// and sets it as the initializer for the the passed in VarDecl.
> + /// and sets it as the initializer for the passed in VarDecl.
> bool InitializeVarWithConstructor(VarDecl *VD,
> CXXConstructorDecl *Constructor,
> MultiExprArg Exprs,
>
> Modified: cfe/trunk/include/clang/Serialization/ASTReader.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/ASTReader.h?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Serialization/ASTReader.h (original)
> +++ cfe/trunk/include/clang/Serialization/ASTReader.h Mon Jul 23 03:59:39 2012
> @@ -456,7 +456,7 @@
> /// consumer eagerly.
> SmallVector<uint64_t, 16> ExternalDefinitions;
>
> - /// \brief The IDs of all tentative definitions stored in the the chain.
> + /// \brief The IDs of all tentative definitions stored in the chain.
> ///
> /// Sema keeps track of all tentative definitions in a TU because it has to
> /// complete them and pass them on to CodeGen. Thus, tentative definitions in
>
> Modified: cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp (original)
> +++ cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp Mon Jul 23 03:59:39 2012
> @@ -9,7 +9,7 @@
> //
> // rewriteBlockObjCVariable:
> //
> -// Adding __block to an obj-c variable could be either because the the variable
> +// Adding __block to an obj-c variable could be either because the variable
> // is used for output storage or the user wanted to break a retain cycle.
> // This transformation checks whether a reference of the variable for the block
> // is actually needed (it is assigned to or its address is taken) or not.
>
> Modified: cfe/trunk/lib/AST/Decl.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/AST/Decl.cpp (original)
> +++ cfe/trunk/lib/AST/Decl.cpp Mon Jul 23 03:59:39 2012
> @@ -517,7 +517,7 @@
>
> // If this class member has an explicit visibility attribute, the only
> // thing that can change its visibility is the template arguments, so
> - // only look for them when processing the the class.
> + // only look for them when processing the class.
> bool ClassOnlyTemplate = LV.visibilityExplicit() ? true : OnlyTemplate;
>
> // If this member has an visibility attribute, ClassF will exclude
>
> Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
> +++ cfe/trunk/lib/AST/VTableBuilder.cpp Mon Jul 23 03:59:39 2012
> @@ -165,7 +165,7 @@
> SubobjectOffsets, SubobjectLayoutClassOffsets,
> SubobjectCounts);
>
> - // Get the the final overriders.
> + // Get the final overriders.
> CXXFinalOverriderMap FinalOverriders;
> MostDerivedClass->getFinalOverriders(FinalOverriders);
>
>
> Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ThreadSafety.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Analysis/ThreadSafety.cpp (original)
> +++ cfe/trunk/lib/Analysis/ThreadSafety.cpp Mon Jul 23 03:59:39 2012
> @@ -811,7 +811,7 @@
> // incoming back edge, it duplicates the context, creating new definitions
> // that refer back to the originals. (These correspond to places where SSA
> // might have to insert a phi node.) On the second pass, these definitions are
> -// set to NULL if the the variable has changed on the back-edge (i.e. a phi
> +// set to NULL if the variable has changed on the back-edge (i.e. a phi
> // node was actually required.) E.g.
> //
> // { Context | VarDefinitions }
>
> Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGObjC.cpp Mon Jul 23 03:59:39 2012
> @@ -580,7 +580,7 @@
> };
> }
>
> -/// Pick an implementation strategy for the the given property synthesis.
> +/// Pick an implementation strategy for the given property synthesis.
> PropertyImplStrategy::PropertyImplStrategy(CodeGenModule &CGM,
> const ObjCPropertyImplDecl *propImpl) {
> const ObjCPropertyDecl *prop = propImpl->getPropertyDecl();
>
> Modified: cfe/trunk/lib/Frontend/TextDiagnostic.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/TextDiagnostic.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Frontend/TextDiagnostic.cpp (original)
> +++ cfe/trunk/lib/Frontend/TextDiagnostic.cpp Mon Jul 23 03:59:39 2012
> @@ -184,7 +184,7 @@
> /// characters will appear at (numbering the first column as 0).
> ///
> /// If a byte 'i' corresponds to muliple columns (e.g. the byte contains a tab
> -/// character) then the the array will map that byte to the first column the
> +/// character) then the array will map that byte to the first column the
> /// tab appears at and the next value in the map will have been incremented
> /// more than once.
> ///
>
> Modified: cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp (original)
> +++ cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp Mon Jul 23 03:59:39 2012
> @@ -118,7 +118,7 @@
> llvm::raw_svector_ostream DiagMessageStream(OutStr);
> printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts);
>
> - // Keeps track of the the starting position of the location
> + // Keeps track of the starting position of the location
> // information (e.g., "foo.c:10:4:") that precedes the error
> // message. We use this information to determine how long the
> // file+line+column number prefix is.
>
> Modified: cfe/trunk/lib/Lex/HeaderSearch.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/HeaderSearch.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Lex/HeaderSearch.cpp (original)
> +++ cfe/trunk/lib/Lex/HeaderSearch.cpp Mon Jul 23 03:59:39 2012
> @@ -84,7 +84,7 @@
> }
>
> /// CreateHeaderMap - This method returns a HeaderMap for the specified
> -/// FileEntry, uniquing them through the the 'HeaderMaps' datastructure.
> +/// FileEntry, uniquing them through the 'HeaderMaps' datastructure.
> const HeaderMap *HeaderSearch::CreateHeaderMap(const FileEntry *FE) {
> // We expect the number of headermaps to be small, and almost always empty.
> // If it ever grows, use of a linear search should be re-evaluated.
>
> Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original)
> +++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Mon Jul 23 03:59:39 2012
> @@ -215,7 +215,7 @@
>
> // If this is a function-like macro, read the arguments.
> if (MI->isFunctionLike()) {
> - // C99 6.10.3p10: If the preprocessing token immediately after the the macro
> + // C99 6.10.3p10: If the preprocessing token immediately after the macro
> // name isn't a '(', this macro should not be expanded.
> if (!isNextPPTokenLParen())
> return true;
>
> Modified: cfe/trunk/lib/Lex/TokenLexer.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/TokenLexer.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Lex/TokenLexer.cpp (original)
> +++ cfe/trunk/lib/Lex/TokenLexer.cpp Mon Jul 23 03:59:39 2012
> @@ -578,7 +578,7 @@
> Result.setKind(tok::unknown);
> }
>
> - // Transfer properties of the LHS over the the Result.
> + // Transfer properties of the LHS over the Result.
> Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine());
> Result.setFlagValue(Token::LeadingSpace, Tok.hasLeadingSpace());
>
>
> Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
> +++ cfe/trunk/lib/Parse/ParseDecl.cpp Mon Jul 23 03:59:39 2012
> @@ -4943,7 +4943,7 @@
>
> // Handle the case where we have '[*]' as the array size. However, a leading
> // star could be the start of an expression, for example 'X[*p + 4]'. Verify
> - // the the token after the star is a ']'. Since stars in arrays are
> + // the token after the star is a ']'. Since stars in arrays are
> // infrequent, use of lookahead is not costly here.
> if (Tok.is(tok::star) && GetLookAheadToken(1).is(tok::r_square)) {
> ConsumeToken(); // Eat the '*'.
>
> Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaChecking.cpp Mon Jul 23 03:59:39 2012
> @@ -4782,7 +4782,7 @@
> QualType PType = Param->getOriginalType();
> if (const ArrayType *AT = Context.getAsArrayType(PType)) {
> if (AT->getSizeModifier() == ArrayType::Star) {
> - // FIXME: This diagnosic should point the the '[*]' if source-location
> + // FIXME: This diagnosic should point the '[*]' if source-location
> // information is added for it.
> Diag(Param->getLocation(), diag::err_array_star_in_function_definition);
> }
>
> Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Mon Jul 23 03:59:39 2012
> @@ -9207,7 +9207,7 @@
> diag::err_operator_new_delete_too_few_parameters)
> << FnDecl->getDeclName();
>
> - // Check the the first parameter type is not dependent.
> + // Check the first parameter type is not dependent.
> QualType FirstParamType = FnDecl->getParamDecl(0)->getType();
> if (FirstParamType->isDependentType())
> return SemaRef.Diag(FnDecl->getLocation(), DependentParamTypeDiag)
>
> Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaLookup.cpp Mon Jul 23 03:59:39 2012
> @@ -899,7 +899,7 @@
> if (!Ctx && S->isTemplateParamScope() && OutsideOfTemplateParamDC &&
> S->getParent() && !S->getParent()->isTemplateParamScope()) {
> // We've just searched the last template parameter scope and
> - // found nothing, so look into the the contexts between the
> + // found nothing, so look into the contexts between the
> // lexical and semantic declaration contexts returned by
> // findOuterContext(). This implements the name lookup behavior
> // of C++ [temp.local]p8.
> @@ -1004,7 +1004,7 @@
> if (!Ctx && S->isTemplateParamScope() && OutsideOfTemplateParamDC &&
> S->getParent() && !S->getParent()->isTemplateParamScope()) {
> // We've just searched the last template parameter scope and
> - // found nothing, so look into the the contexts between the
> + // found nothing, so look into the contexts between the
> // lexical and semantic declaration contexts returned by
> // findOuterContext(). This implements the name lookup behavior
> // of C++ [temp.local]p8.
>
> Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaOverload.cpp Mon Jul 23 03:59:39 2012
> @@ -2500,7 +2500,7 @@
> /// for equality of their argument types. Caller has already checked that
> /// they have same number of arguments. This routine assumes that Objective-C
> /// pointer types which only differ in their protocol qualifiers are equal.
> -/// If the parameters are different, ArgPos will have the the parameter index
> +/// If the parameters are different, ArgPos will have the parameter index
> /// of the first different parameter.
> bool Sema::FunctionArgTypesAreEqual(const FunctionProtoType *OldType,
> const FunctionProtoType *NewType,
>
> Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp Mon Jul 23 03:59:39 2012
> @@ -2756,7 +2756,7 @@
>
> /// GetReturnType - Used to get the return type of a message expression or
> /// function call with the intention of affixing that type to a tracked symbol.
> -/// While the the return type can be queried directly from RetEx, when
> +/// While the return type can be queried directly from RetEx, when
> /// invoking class methods we augment to the return type to be that of
> /// a pointer to the class (as opposed it just being id).
> // FIXME: We may be able to do this with related result types instead.
>
> Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp Mon Jul 23 03:59:39 2012
> @@ -256,7 +256,7 @@
> (void) ReportZeroByteAllocation(C, falseState, arg, fn);
> return;
> }
> - // Assume the the value is non-zero going forward.
> + // Assume the value is non-zero going forward.
> assert(trueState);
> if (trueState != state)
> C.addTransition(trueState);
> @@ -292,7 +292,7 @@
> }
> }
>
> - // Assume the the value is non-zero going forward.
> + // Assume the value is non-zero going forward.
> assert(trueState);
> if (trueState != state)
> C.addTransition(trueState);
>
> Modified: cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp Mon Jul 23 03:59:39 2012
> @@ -541,7 +541,7 @@
> const StackFrameContext *LocCtx
> = cast<StackFrameContext>(N->getLocationContext());
>
> - // Use the the callee location context.
> + // Use the callee location context.
> CallExitBegin Loc(LocCtx);
>
> bool isNew;
>
> Modified: cfe/trunk/test/Modules/cstd.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/cstd.m?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/test/Modules/cstd.m (original)
> +++ cfe/trunk/test/Modules/cstd.m Mon Jul 23 03:59:39 2012
> @@ -13,7 +13,7 @@
> fprintf(file, "Hello, modules\n");
> }
>
> -// Supplied by compiler, which forwards to the the "/usr/include" version.
> +// Supplied by compiler, which forwards to the "/usr/include" version.
> @__experimental_modules_import cstd.stdint;
>
> my_awesome_nonstandard_integer_type value;
>
> Modified: cfe/trunk/test/Sema/conditional-expr.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/conditional-expr.c?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/test/Sema/conditional-expr.c (original)
> +++ cfe/trunk/test/Sema/conditional-expr.c Mon Jul 23 03:59:39 2012
> @@ -1,7 +1,7 @@
> // RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wsign-conversion %s
> void foo() {
> *(0 ? (double *)0 : (void *)0) = 0;
> - // FIXME: GCC doesn't consider the the following two statements to be errors.
> + // FIXME: GCC doesn't consider the following two statements to be errors.
> *(0 ? (double *)0 : (void *)(int *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}}
> *(0 ? (double *)0 : (void *)(double *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}}
> *(0 ? (double *)0 : (int *)(void *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}} expected-warning {{pointer type mismatch ('double *' and 'int *')}}
>
> Modified: cfe/trunk/test/SemaObjC/continuation-class-err.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/continuation-class-err.m?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/test/SemaObjC/continuation-class-err.m (original)
> +++ cfe/trunk/test/SemaObjC/continuation-class-err.m Mon Jul 23 03:59:39 2012
> @@ -13,7 +13,7 @@
> @interface ReadOnly ()
> @property(readwrite, copy) id object; // expected-warning {{property attribute in class extension does not match the primary class}}
> @property(readonly) id object1; // expected-error {{illegal redeclaration of property in class extension 'ReadOnly' (attribute must be 'readwrite', while its primary must be 'readonly')}}
> - at property (readwrite, assign) int indentLevel; // OK. assign the the default in any case.
> + at property (readwrite, assign) int indentLevel; // OK. assign the default in any case.
> @end
>
> @protocol Proto
>
> Modified: cfe/trunk/www/get_started.html
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/get_started.html?rev=160622&r1=160621&r2=160622&view=diff
> ==============================================================================
> --- cfe/trunk/www/get_started.html (original)
> +++ cfe/trunk/www/get_started.html Mon Jul 23 03:59:39 2012
> @@ -264,7 +264,7 @@
>
> <h3>Pretty printing from the AST:</h3>
>
> -<p>Note, the <tt>-cc1</tt> argument indicates the the compiler front-end, and
> +<p>Note, the <tt>-cc1</tt> argument indicates the compiler front-end, and
> not the driver, should be run. The compiler front-end has several additional
> Clang specific features which are not exposed through the GCC compatible driver
> interface.</p>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list