diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-26 08:15:52 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-26 08:15:52 +0000 |
commit | ef04f64069575d7a22c3893a5e8df5bb5f4b26f3 (patch) | |
tree | 5458bfe61fc1a6a27c2f5ebc37e71d0ee015924a /clang | |
parent | 0909ca132fcd836df843aa1ed1585bb0c15c5520 (diff) | |
download | bcm5719-llvm-ef04f64069575d7a22c3893a5e8df5bb5f4b26f3.tar.gz bcm5719-llvm-ef04f64069575d7a22c3893a5e8df5bb5f4b26f3.zip |
[NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc.
llvm-svn: 323509
Diffstat (limited to 'clang')
-rw-r--r-- | clang/docs/InternalsManual.rst | 2 | ||||
-rw-r--r-- | clang/docs/doxygen.cfg.in | 2 | ||||
-rw-r--r-- | clang/include/clang/AST/OpenMPClause.h | 2 | ||||
-rw-r--r-- | clang/include/clang/Frontend/SerializedDiagnosticPrinter.h | 2 | ||||
-rw-r--r-- | clang/include/clang/Lex/HeaderSearch.h | 2 | ||||
-rw-r--r-- | clang/include/clang/Lex/MultipleIncludeOpt.h | 2 | ||||
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 2 | ||||
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp | 2 | ||||
-rw-r--r-- | clang/test/Analysis/temporaries.cpp | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 058c63f0afd..b23d31468d0 100644 --- a/clang/docs/InternalsManual.rst +++ b/clang/docs/InternalsManual.rst @@ -1823,7 +1823,7 @@ Note that setting this member to 1 will opt out of common attribute semantic 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. diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 13ed72222be..08f4253d851 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -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. diff --git a/clang/include/clang/AST/OpenMPClause.h b/clang/include/clang/AST/OpenMPClause.h index b2ea8bf8e39..abcd1cbefcf 100644 --- a/clang/include/clang/AST/OpenMPClause.h +++ b/clang/include/clang/AST/OpenMPClause.h @@ -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. /// diff --git a/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h b/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h index 4c57e9d404f..36ef01488ff 100644 --- a/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h +++ b/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h @@ -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. /// diff --git a/clang/include/clang/Lex/HeaderSearch.h b/clang/include/clang/Lex/HeaderSearch.h index 6b9dbfcd1e9..14a7198475b 100644 --- a/clang/include/clang/Lex/HeaderSearch.h +++ b/clang/include/clang/Lex/HeaderSearch.h @@ -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 diff --git a/clang/include/clang/Lex/MultipleIncludeOpt.h b/clang/include/clang/Lex/MultipleIncludeOpt.h index 3967f868896..00d3047e536 100644 --- a/clang/include/clang/Lex/MultipleIncludeOpt.h +++ b/clang/include/clang/Lex/MultipleIncludeOpt.h @@ -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) diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index 1e022f0e9ae..43f34e7965b 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -2071,7 +2071,7 @@ CodeGenFunction::EmitARCRetainAutoreleasedReturnValue(llvm::Value *value) { /// 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. /// diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp index b67ba7e9f4c..bfd4019ed8d 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp @@ -535,7 +535,7 @@ void ObjCDeallocChecker::diagnoseMissingReleases(CheckerContext &C) const { 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() diff --git a/clang/test/Analysis/temporaries.cpp b/clang/test/Analysis/temporaries.cpp index 99851dd6853..9e2d45f693a 100644 --- a/clang/test/Analysis/temporaries.cpp +++ b/clang/test/Analysis/temporaries.cpp @@ -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 } |