From: Hiroshi Inoue Date: Tue, 23 Jan 2018 05:50:06 +0000 (+0000) Subject: [NFC] fix trivial typos in comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a36014f853fa68bc05f6fc425a6ba5fbf67da8b;p=clang [NFC] fix trivial typos in comments "the the" -> "the" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323177 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/AddressSpaces.h b/include/clang/Basic/AddressSpaces.h index 6b0090813e..67019f6925 100644 --- a/include/clang/Basic/AddressSpaces.h +++ b/include/clang/Basic/AddressSpaces.h @@ -24,7 +24,7 @@ namespace clang { /// of QualType. /// enum class LangAS : unsigned { - // The default value 0 is the value used in QualType for the the situation + // The default value 0 is the value used in QualType for the situation // where there is no address space qualifier. Default = 0, diff --git a/include/clang/CodeGen/ConstantInitBuilder.h b/include/clang/CodeGen/ConstantInitBuilder.h index 113d86d82c..d1388f0c51 100644 --- a/include/clang/CodeGen/ConstantInitBuilder.h +++ b/include/clang/CodeGen/ConstantInitBuilder.h @@ -295,7 +295,7 @@ public: slot = value; } - /// Produce an address which will eventually point to the the next + /// Produce an address which will eventually point to the next /// position to be filled. This is computed with an indexed /// getelementptr rather than by computing offsets. /// diff --git a/include/clang/StaticAnalyzer/Checkers/Checkers.td b/include/clang/StaticAnalyzer/Checkers/Checkers.td index e510e84e93..77820aeea3 100644 --- a/include/clang/StaticAnalyzer/Checkers/Checkers.td +++ b/include/clang/StaticAnalyzer/Checkers/Checkers.td @@ -86,7 +86,7 @@ def LLVM : Package<"llvm">; // The APIModeling package is for checkers that model APIs and don't perform // any diagnostics. These checkers are always turned on; this package is -// intended for API modeling that is not controlled by the the target triple. +// intended for API modeling that is not controlled by the target triple. def APIModeling : Package<"apiModeling">, Hidden; def GoogleAPIModeling : Package<"google">, InPackage; diff --git a/include/clang/Tooling/Refactoring/Rename/RenamingAction.h b/include/clang/Tooling/Refactoring/Rename/RenamingAction.h index 734b624d77..d32ed642b0 100644 --- a/include/clang/Tooling/Refactoring/Rename/RenamingAction.h +++ b/include/clang/Tooling/Refactoring/Rename/RenamingAction.h @@ -82,7 +82,7 @@ private: Expected createSourceReplacements(RefactoringRuleContext &Context) override; - // A NamedDecl which indentifies the the symbol being renamed. + // A NamedDecl which indentifies the symbol being renamed. const NamedDecl *ND; // The new qualified name to change the symbol to. std::string NewQualifiedName;