Author: inouehrs Date: Fri Jan 26 00:15:52 2018 New Revision: 323509 URL: http://llvm.org/viewvc/llvm-project?rev=323509&view=rev Log: [NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc. Modified: cfe/trunk/docs/InternalsManual.rst cfe/trunk/docs/doxygen.cfg.in cfe/trunk/include/clang/AST/OpenMPClause.h cfe/trunk/include/clang/Frontend/SerializedDiagnosticPrinter.h cfe/trunk/include/clang/Lex/HeaderSearch.h cfe/trunk/include/clang/Lex/MultipleIncludeOpt.h cfe/trunk/lib/CodeGen/CGObjC.cpp cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp cfe/trunk/test/Analysis/temporaries.cpp Modified: cfe/trunk/docs/InternalsManual.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.rst?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/docs/InternalsManual.rst (original) +++ cfe/trunk/docs/InternalsManual.rst Fri Jan 26 00:15:52 2018 @@ -1823,7 +1823,7 @@ Note that setting this member to 1 will handling, requiring extra implementation efforts to ensure the attribute appertains to the appropriate subject, etc. -If the attribute should not be propagated from from a template declaration to an +If the attribute should not be propagated from a template declaration to an instantiation of the template, set the ``Clone`` member to 0. By default, all attributes will be cloned to template instantiations. Modified: cfe/trunk/docs/doxygen.cfg.in URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/doxygen.cfg.in?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/docs/doxygen.cfg.in (original) +++ cfe/trunk/docs/doxygen.cfg.in Fri Jan 26 00:15:52 2018 @@ -284,7 +284,7 @@ MARKDOWN_SUPPORT = YES # When enabled doxygen tries to link words that correspond to documented # classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by by putting a % sign in front of the word +# be prevented in individual cases by putting a % sign in front of the word # or globally by setting AUTOLINK_SUPPORT to NO. # The default value is: YES. Modified: cfe/trunk/include/clang/AST/OpenMPClause.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/OpenMPClause.h?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/OpenMPClause.h (original) +++ cfe/trunk/include/clang/AST/OpenMPClause.h Fri Jan 26 00:15:52 2018 @@ -3902,7 +3902,7 @@ public: OpenMPMapClauseKind Type, bool TypeIsImplicit, SourceLocation TypeLoc); - /// \brief Creates an empty clause with the place for for \a NumVars original + /// \brief Creates an empty clause with the place for \a NumVars original /// expressions, \a NumUniqueDeclarations declarations, \NumComponentLists /// lists, and \a NumComponents expression components. /// Modified: cfe/trunk/include/clang/Frontend/SerializedDiagnosticPrinter.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/SerializedDiagnosticPrinter.h?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/include/clang/Frontend/SerializedDiagnosticPrinter.h (original) +++ cfe/trunk/include/clang/Frontend/SerializedDiagnosticPrinter.h Fri Jan 26 00:15:52 2018 @@ -29,7 +29,7 @@ namespace serialized_diags { /// a bitcode file. /// /// The created DiagnosticConsumer is designed for quick and lightweight -/// transfer of of diagnostics to the enclosing build system (e.g., an IDE). +/// transfer of diagnostics to the enclosing build system (e.g., an IDE). /// This allows wrapper tools for Clang to get diagnostics from Clang /// (via libclang) without needing to parse Clang's command line output. /// Modified: cfe/trunk/include/clang/Lex/HeaderSearch.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/HeaderSearch.h?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/include/clang/Lex/HeaderSearch.h (original) +++ cfe/trunk/include/clang/Lex/HeaderSearch.h Fri Jan 26 00:15:52 2018 @@ -416,7 +416,7 @@ public: return FrameworkMap[FWName]; } - /// \brief Mark the specified file as a target of of a \#include, + /// \brief Mark the specified file as a target of a \#include, /// \#include_next, or \#import directive. /// /// \return false if \#including the file will have no effect or true Modified: cfe/trunk/include/clang/Lex/MultipleIncludeOpt.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/MultipleIncludeOpt.h?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/include/clang/Lex/MultipleIncludeOpt.h (original) +++ cfe/trunk/include/clang/Lex/MultipleIncludeOpt.h Fri Jan 26 00:15:52 2018 @@ -119,7 +119,7 @@ public: /// Note, we don't care about the input value of 'ReadAnyTokens'. The caller /// ensures that this is only called if there are no tokens read before the /// \#ifndef. The caller is required to do this, because reading the \#if - /// line obviously reads in in tokens. + /// line obviously reads in tokens. void EnterTopLevelIfndef(const IdentifierInfo *M, SourceLocation Loc) { // If the macro is already set, this is after the top-level #endif. if (TheMacro) Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/lib/CodeGen/CGObjC.cpp (original) +++ cfe/trunk/lib/CodeGen/CGObjC.cpp Fri Jan 26 00:15:52 2018 @@ -2071,7 +2071,7 @@ CodeGenFunction::EmitARCRetainAutoreleas /// Claim a possibly-autoreleased return value at +0. This is only /// valid to do in contexts which do not rely on the retain to keep -/// the object valid for for all of its uses; for example, when +/// the object valid for all of its uses; for example, when /// the value is ignored, or when it is being assigned to an /// __unsafe_unretained variable. /// Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp (original) +++ cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp Fri Jan 26 00:15:52 2018 @@ -535,7 +535,7 @@ void ObjCDeallocChecker::diagnoseMissing continue; // Prevents diagnosing multiple times for the same instance variable - // at, for example, both a return and at the end of of the function. + // at, for example, both a return and at the end of the function. NewUnreleased = F.remove(NewUnreleased, IvarSymbol); if (State->getStateManager() Modified: cfe/trunk/test/Analysis/temporaries.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/temporaries.cpp?rev=323509&r1=323508&r2=323509&view=diff ============================================================================== --- cfe/trunk/test/Analysis/temporaries.cpp (original) +++ cfe/trunk/test/Analysis/temporaries.cpp Fri Jan 26 00:15:52 2018 @@ -434,7 +434,7 @@ namespace destructors { const CtorWithNoReturnDtor &c = CtorWithNoReturnDtor(); // This represents an (expected) loss of coverage, since the destructor - // of the lifetime-exended temporary is executed at at the end of + // of the lifetime-exended temporary is executed at the end of // scope. clang_analyzer_warnIfReached(); // no-warning } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits