Documentation cleanup: making \param and \returns docs match the code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
James Dennett 2012-06-22 10:32:46 +00:00
Родитель 16ae9de077
Коммит 8da16874f4
3 изменённых файлов: 6 добавлений и 11 удалений

Просмотреть файл

@ -2207,8 +2207,6 @@ public:
/// CheckProtocolMethodDefs - This routine checks unimplemented /// CheckProtocolMethodDefs - This routine checks unimplemented
/// methods declared in protocol, and those referenced by it. /// methods declared in protocol, and those referenced by it.
/// \param IDecl - Used for checking for methods which may have been
/// inherited.
void CheckProtocolMethodDefs(SourceLocation ImpLoc, void CheckProtocolMethodDefs(SourceLocation ImpLoc,
ObjCProtocolDecl *PDecl, ObjCProtocolDecl *PDecl,
bool& IncompleteImpl, bool& IncompleteImpl,

Просмотреть файл

@ -1100,15 +1100,12 @@ static NamedDecl *getVisibleDecl(NamedDecl *D) {
/// begin. If the lookup criteria permits, name lookup may also search /// begin. If the lookup criteria permits, name lookup may also search
/// in the parent scopes. /// in the parent scopes.
/// ///
/// @param Name The name of the entity that we are searching for. /// @param [in,out] R Specifies the lookup to perform (e.g., the name to
/// look up and the lookup kind), and is updated with the results of lookup
/// including zero or more declarations and possibly additional information
/// used to diagnose ambiguities.
/// ///
/// @param Loc If provided, the source location where we're performing /// @returns \c true if lookup succeeded and false otherwise.
/// name lookup. At present, this is only used to produce diagnostics when
/// C library functions (like "malloc") are implicitly declared.
///
/// @returns The result of name lookup, which includes zero or more
/// declarations and possibly additional information used to diagnose
/// ambiguities.
bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) { bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
DeclarationName Name = R.getLookupName(); DeclarationName Name = R.getLookupName();
if (!Name) return false; if (!Name) return false;

Просмотреть файл

@ -9838,7 +9838,7 @@ static bool IsOverloaded(const UnresolvedSetImpl &Functions) {
/// set should not contain any member functions; those will be added /// set should not contain any member functions; those will be added
/// by CreateOverloadedUnaryOp(). /// by CreateOverloadedUnaryOp().
/// ///
/// \param input The input argument. /// \param Input The input argument.
ExprResult ExprResult
Sema::CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, Sema::CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn,
const UnresolvedSetImpl &Fns, const UnresolvedSetImpl &Fns,