summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:52 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:52 +0000
commitda170fedbf6f338cdda33c09260d45895de0e069 (patch)
tree26133fdb1a021aeb3d62779b2403ae71953bb4bb /include/clang/Lex
parenta58d0437d1e17d53d7bffea598d77789dd6d28b6 (diff)
[NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r--include/clang/Lex/HeaderSearch.h2
-rw-r--r--include/clang/Lex/MultipleIncludeOpt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Lex/HeaderSearch.h b/include/clang/Lex/HeaderSearch.h
index 6b9dbfcd1e..14a7198475 100644
--- a/include/clang/Lex/HeaderSearch.h
+++ b/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/include/clang/Lex/MultipleIncludeOpt.h b/include/clang/Lex/MultipleIncludeOpt.h
index 3967f86889..00d3047e53 100644
--- a/include/clang/Lex/MultipleIncludeOpt.h
+++ b/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)