]> granicus.if.org Git - clang/commitdiff
Documentation cleanup: making \param and \returns docs match the code.
authorJames Dennett <jdennett@google.com>
Fri, 22 Jun 2012 10:32:46 +0000 (10:32 +0000)
committerJames Dennett <jdennett@google.com>
Fri, 22 Jun 2012 10:32:46 +0000 (10:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158985 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h
lib/Sema/SemaLookup.cpp
lib/Sema/SemaOverload.cpp

index 79b617cc57df8d7ec548c6e68110d15e041a603f..1aaa9a36b8b75da38e9eb8ccbdfd9bcc45905ac7 100644 (file)
@@ -2207,8 +2207,6 @@ public:
 
   /// CheckProtocolMethodDefs - This routine checks unimplemented
   /// 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,
                                ObjCProtocolDecl *PDecl,
                                bool& IncompleteImpl,
index 2206bd0b7890a4fe2b01bce1307ae8d152fb1490..827cfbcfffcc8e65cec28f046fbd9ba3ebd70071 100644 (file)
@@ -1100,15 +1100,12 @@ static NamedDecl *getVisibleDecl(NamedDecl *D) {
 /// begin. If the lookup criteria permits, name lookup may also search
 /// 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
-/// 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.
+/// @returns \c true if lookup succeeded and false otherwise.
 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
   DeclarationName Name = R.getLookupName();
   if (!Name) return false;
index 53ebbd49f5d9cb2089eb2c97b8135c11db1734a7..973a2fe065739074ae1945483bd4879a918d1cd0 100644 (file)
@@ -9838,7 +9838,7 @@ static bool IsOverloaded(const UnresolvedSetImpl &Functions) {
 /// set should not contain any member functions; those will be added
 /// by CreateOverloadedUnaryOp().
 ///
-/// \param input The input argument.
+/// \param Input The input argument.
 ExprResult
 Sema::CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn,
                               const UnresolvedSetImpl &Fns,