diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-10-12 09:42:14 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-10-12 09:42:14 +0000 |
commit | 9047763be73c6c687a868e265a439e77e2d0ca57 (patch) | |
tree | c5fc1c51ae39cc0f43ec80a8e35c6696c1d8bc99 | |
parent | 669951b13623deb48b23527890f5a63074cbdc56 (diff) | |
download | clang-9047763be73c6c687a868e265a439e77e2d0ca57.tar.gz |
Fix warnings. [-Wdocumentation]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315573 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Lex/TokenLexer.cpp | 3 | ||||
-rw-r--r-- | lib/Sema/MultiplexExternalSemaSource.cpp | 2 | ||||
-rw-r--r-- | lib/Serialization/ASTReader.cpp | 8 |
3 files changed, 6 insertions, 7 deletions
diff --git a/lib/Lex/TokenLexer.cpp b/lib/Lex/TokenLexer.cpp index df6ad5276a..6ec128efc1 100644 --- a/lib/Lex/TokenLexer.cpp +++ b/lib/Lex/TokenLexer.cpp @@ -847,9 +847,8 @@ static void updateConsecutiveMacroArgTokens(SourceManager &SM, /// \brief Creates SLocEntries and updates the locations of macro argument /// tokens to their new expanded locations. /// -/// \param ArgIdDefLoc the location of the macro argument id inside the macro +/// \param ArgIdSpellLoc the location of the macro argument id inside the macro /// definition. -/// \param Tokens the macro argument tokens to update. void TokenLexer::updateLocForMacroArgTokens(SourceLocation ArgIdSpellLoc, Token *begin_tokens, Token *end_tokens) { diff --git a/lib/Sema/MultiplexExternalSemaSource.cpp b/lib/Sema/MultiplexExternalSemaSource.cpp index b7e343c647..77ace0cfa5 100644 --- a/lib/Sema/MultiplexExternalSemaSource.cpp +++ b/lib/Sema/MultiplexExternalSemaSource.cpp @@ -19,8 +19,6 @@ using namespace clang; ///\brief Constructs a new multiplexing external sema source and appends the /// given element to it. /// -///\param[in] source - An ExternalSemaSource. -/// MultiplexExternalSemaSource::MultiplexExternalSemaSource(ExternalSemaSource &s1, ExternalSemaSource &s2){ Sources.push_back(&s1); diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 4d77c2bb15..5a3423a3ec 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -5425,10 +5425,12 @@ PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) { llvm_unreachable("Invalid PreprocessorDetailRecordTypes"); } -/// \brief \arg SLocMapI points at a chunk of a module that contains no -/// preprocessed entities or the entities it contains are not the ones we are -/// looking for. Find the next module that contains entities and return the ID +/// \brief Find the next module that contains entities and return the ID /// of the first entry. +/// +/// \param SLocMapI points at a chunk of a module that contains no +/// preprocessed entities or the entities it contains are not the ones we are +/// looking for. PreprocessedEntityID ASTReader::findNextPreprocessedEntity( GlobalSLocOffsetMapType::const_iterator SLocMapI) const { ++SLocMapI; |