forked from OSchip/llvm-project
Documentation cleanup: making \param docs match the code.
llvm-svn: 158982
This commit is contained in:
parent
18348b6218
commit
41725129a4
|
@ -6012,15 +6012,16 @@ public:
|
|||
/// Process the specified property declaration and create decls for the
|
||||
/// setters and getters as needed.
|
||||
/// \param property The property declaration being processed
|
||||
/// \param DC The semantic container for the property
|
||||
/// \param CD The semantic container for the property
|
||||
/// \param redeclaredProperty Declaration for property if redeclared
|
||||
/// in class extension.
|
||||
/// \param lexicalDC Container for redeclaredProperty.
|
||||
void ProcessPropertyDecl(ObjCPropertyDecl *property,
|
||||
ObjCContainerDecl *DC,
|
||||
ObjCContainerDecl *CD,
|
||||
ObjCPropertyDecl *redeclaredProperty = 0,
|
||||
ObjCContainerDecl *lexicalDC = 0);
|
||||
|
||||
|
||||
void DiagnosePropertyMismatch(ObjCPropertyDecl *Property,
|
||||
ObjCPropertyDecl *SuperProperty,
|
||||
const IdentifierInfo *Name);
|
||||
|
|
|
@ -910,8 +910,8 @@ public:
|
|||
///
|
||||
/// \param Mod The module whose names should be made visible.
|
||||
///
|
||||
/// \param Visibility The level of visibility to give the names in the module.
|
||||
/// Visibility can only be increased over time.
|
||||
/// \param NameVisibility The level of visibility to give the names in the
|
||||
/// module. Visibility can only be increased over time.
|
||||
void makeModuleVisible(Module *Mod,
|
||||
Module::NameVisibilityKind NameVisibility);
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
virtual ~StoreManager() {}
|
||||
|
||||
/// Return the value bound to specified location in a given state.
|
||||
/// \param[in] state The analysis state.
|
||||
/// \param[in] store The analysis state.
|
||||
/// \param[in] loc The symbolic memory location.
|
||||
/// \param[in] T An optional type that provides a hint indicating the
|
||||
/// expected type of the returned value. This is used if the value is
|
||||
|
@ -58,12 +58,12 @@ public:
|
|||
virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0;
|
||||
|
||||
/// Return a state with the specified value bound to the given location.
|
||||
/// \param[in] state The analysis state.
|
||||
/// \param[in] store The analysis state.
|
||||
/// \param[in] loc The symbolic memory location.
|
||||
/// \param[in] val The value to bind to location \c loc.
|
||||
/// \return A pointer to a ProgramState object that contains the same bindings as
|
||||
/// \c state with the addition of having the value specified by \c val bound
|
||||
/// to the location given for \c loc.
|
||||
/// \return A pointer to a ProgramState object that contains the same
|
||||
/// bindings as \c state with the addition of having the value specified
|
||||
/// by \c val bound to the location given for \c loc.
|
||||
virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0;
|
||||
|
||||
virtual StoreRef BindDefault(Store store, const MemRegion *R, SVal V);
|
||||
|
@ -176,8 +176,7 @@ public:
|
|||
/// invalidate additional regions that may have changed based on accessing
|
||||
/// the given regions. Optionally, invalidates non-static globals as well.
|
||||
/// \param[in] store The initial store
|
||||
/// \param[in] Begin A pointer to the first region to invalidate.
|
||||
/// \param[in] End A pointer just past the last region to invalidate.
|
||||
/// \param[in] Regions The regions to invalidate.
|
||||
/// \param[in] E The current statement being evaluated. Used to conjure
|
||||
/// symbols to mark the values of invalidated regions.
|
||||
/// \param[in] Count The current block count. Used to conjure
|
||||
|
@ -186,7 +185,7 @@ public:
|
|||
/// accessible. Pass \c NULL if this information will not be used.
|
||||
/// \param[in] Call The call expression which will be used to determine which
|
||||
/// globals should get invalidated.
|
||||
/// \param[in,out] Regions A vector to fill with any regions being
|
||||
/// \param[in,out] Invalidated A vector to fill with any regions being
|
||||
/// invalidated. This should include any regions explicitly invalidated
|
||||
/// even if they do not currently have bindings. Pass \c NULL if this
|
||||
/// information will not be used.
|
||||
|
|
|
@ -196,15 +196,14 @@ public:
|
|||
/**************************** Array cookies ******************************/
|
||||
|
||||
/// Returns the extra size required in order to store the array
|
||||
/// cookie for the given type. May return 0 to indicate that no
|
||||
/// cookie for the given new-expression. May return 0 to indicate that no
|
||||
/// array cookie is required.
|
||||
///
|
||||
/// Several cases are filtered out before this method is called:
|
||||
/// - non-array allocations never need a cookie
|
||||
/// - calls to \::operator new(size_t, void*) never need a cookie
|
||||
///
|
||||
/// \param ElementType - the allocated type of the expression,
|
||||
/// i.e. the pointee type of the expression result type
|
||||
/// \param expr - the new-expression being allocated.
|
||||
virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr);
|
||||
|
||||
/// Initialize the array cookie for the given allocation.
|
||||
|
|
|
@ -1355,7 +1355,7 @@ void Sema::ActOnEndFunctionDeclarator() {
|
|||
///
|
||||
/// \param IdLoc The location of the name in the translation unit.
|
||||
///
|
||||
/// \param TypoCorrection If true, this routine will attempt typo correction
|
||||
/// \param DoTypoCorrection If true, this routine will attempt typo correction
|
||||
/// if there is no class with the given name.
|
||||
///
|
||||
/// \returns The declaration of the named Objective-C class, or NULL if the
|
||||
|
|
|
@ -1637,22 +1637,12 @@ bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS,
|
|||
}
|
||||
|
||||
|
||||
/// @brief Produce a diagnostic describing the ambiguity that resulted
|
||||
/// \brief Produce a diagnostic describing the ambiguity that resulted
|
||||
/// from name lookup.
|
||||
///
|
||||
/// @param Result The ambiguous name lookup result.
|
||||
/// \param Result The result of the ambiguous lookup to be diagnosed.
|
||||
///
|
||||
/// @param Name The name of the entity that name lookup was
|
||||
/// searching for.
|
||||
///
|
||||
/// @param NameLoc The location of the name within the source code.
|
||||
///
|
||||
/// @param LookupRange A source range that provides more
|
||||
/// source-location information concerning the lookup itself. For
|
||||
/// example, this range might highlight a nested-name-specifier that
|
||||
/// precedes the name.
|
||||
///
|
||||
/// @returns true
|
||||
/// \returns true
|
||||
bool Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
|
||||
assert(Result.isAmbiguous() && "Lookup result must be ambiguous");
|
||||
|
||||
|
|
|
@ -4455,13 +4455,13 @@ MarkUsedTemplateParameters(ASTContext &Ctx,
|
|||
}
|
||||
}
|
||||
|
||||
/// \brief Mark the template parameters can be deduced by the given
|
||||
/// \brief Mark which template parameters can be deduced from a given
|
||||
/// template argument list.
|
||||
///
|
||||
/// \param TemplateArgs the template argument list from which template
|
||||
/// parameters will be deduced.
|
||||
///
|
||||
/// \param Deduced a bit vector whose elements will be set to \c true
|
||||
/// \param Used a bit vector whose elements will be set to \c true
|
||||
/// to indicate when the corresponding template parameter will be
|
||||
/// deduced.
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue