diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-24 00:01:24 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-24 00:01:24 +0000 |
| commit | dd28e7930ccae5dd67f62d6a4221a3112dd93ec8 (patch) | |
| tree | 67b55b58263b2e7aecf7529b0b5867acf7e4c262 | |
| parent | 156d92037aab183f8db6b4aac8267612e3f3ec63 (diff) | |
| download | bcm5719-llvm-dd28e7930ccae5dd67f62d6a4221a3112dd93ec8.tar.gz bcm5719-llvm-dd28e7930ccae5dd67f62d6a4221a3112dd93ec8.zip | |
Fix a few -Wdocumentation warnings.
llvm-svn: 162506
| -rw-r--r-- | clang/lib/CodeGen/CGRTTI.cpp | 1 | ||||
| -rw-r--r-- | clang/lib/Parse/ParseDeclCXX.cpp | 3 | ||||
| -rw-r--r-- | clang/lib/Parse/ParseExprCXX.cpp | 12 | ||||
| -rw-r--r-- | clang/lib/Sema/SemaAccess.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 2 |
5 files changed, 7 insertions, 13 deletions
diff --git a/clang/lib/CodeGen/CGRTTI.cpp b/clang/lib/CodeGen/CGRTTI.cpp index b5cdd7fea31..eca9f5b16be 100644 --- a/clang/lib/CodeGen/CGRTTI.cpp +++ b/clang/lib/CodeGen/CGRTTI.cpp @@ -105,7 +105,6 @@ public: /// BuildTypeInfo - Build the RTTI type info struct for the given type. /// /// \param Force - true to force the creation of this RTTI value - /// \param ForEH - true if this is for exception handling llvm::Constant *BuildTypeInfo(QualType Ty, bool Force = false); }; } diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp index 513b788a6bb..42ec6b0205c 100644 --- a/clang/lib/Parse/ParseDeclCXX.cpp +++ b/clang/lib/Parse/ParseDeclCXX.cpp @@ -2772,9 +2772,6 @@ void Parser::DeallocateParsedClasses(Parser::ParsingClass *Class) { /// This routine should be called when we have finished parsing the /// definition of a class, but have not yet popped the Scope /// associated with the class's definition. -/// -/// \returns true if the class we've popped is a top-level class, -/// false otherwise. void Parser::PopParsingClass(Sema::ParsingClassState state) { assert(!ClassStack.empty() && "Mismatched push/pop for class parsing"); diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp index 6ecea59ca22..e02cb7a0264 100644 --- a/clang/lib/Parse/ParseExprCXX.cpp +++ b/clang/lib/Parse/ParseExprCXX.cpp @@ -1285,11 +1285,11 @@ Parser::ParseCXXTypeConstructExpression(const DeclSpec &DS) { /// [GNU] type-specifier-seq declarator simple-asm-expr[opt] attributes[opt] /// '=' assignment-expression /// -/// \param ExprResult if the condition was parsed as an expression, the -/// parsed expression. +/// \param ExprOut if the condition was parsed as an expression, the parsed +/// expression. /// -/// \param DeclResult if the condition was parsed as a declaration, the -/// parsed declaration. +/// \param DeclOut if the condition was parsed as a declaration, the parsed +/// declaration. /// /// \param Loc The location of the start of the statement that requires this /// condition, e.g., the "for" in a for loop. @@ -1766,7 +1766,7 @@ bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, /// ptr-operator conversion-declarator[opt] /// \endcode /// -/// \param The nested-name-specifier that preceded this unqualified-id. If +/// \param SS The nested-name-specifier that preceded this unqualified-id. If /// non-empty, then we are parsing the unqualified-id of a qualified-id. /// /// \param EnteringContext whether we are entering the scope of the @@ -1985,7 +1985,7 @@ bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext, /// /// \endcode /// -/// \param The nested-name-specifier that preceded this unqualified-id. If +/// \param SS The nested-name-specifier that preceded this unqualified-id. If /// non-empty, then we are parsing the unqualified-id of a qualified-id. /// /// \param EnteringContext whether we are entering the scope of the diff --git a/clang/lib/Sema/SemaAccess.cpp b/clang/lib/Sema/SemaAccess.cpp index 3481171c773..ed72a5600b7 100644 --- a/clang/lib/Sema/SemaAccess.cpp +++ b/clang/lib/Sema/SemaAccess.cpp @@ -1791,7 +1791,7 @@ void Sema::CheckLookupAccess(const LookupResult &R) { /// specifiers into account, but no member access expressions and such. /// /// \param Decl the declaration to check if it can be accessed -/// \param Class the class/context from which to start the search +/// \param Ctx the class/context from which to start the search /// \return true if the Decl is accessible from the Class, false otherwise. bool Sema::IsSimplyAccessible(NamedDecl *Decl, DeclContext *Ctx) { if (CXXRecordDecl *Class = dyn_cast<CXXRecordDecl>(Ctx)) { diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 425d2e32a7b..7ee3c9a21b9 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -1329,8 +1329,6 @@ namespace { /// \brief Write the header search block for the list of files that /// /// \param HS The header search structure to save. -/// -/// \param Chain Whether we're creating a chained AST file. void ASTWriter::WriteHeaderSearch(const HeaderSearch &HS, StringRef isysroot) { SmallVector<const FileEntry *, 16> FilesByUID; HS.getFileMgr().GetUniqueIDMapping(FilesByUID); |

