forked from OSchip/llvm-project
Documentation cleanup:
* Escaped Objective-C @keywords in Doxygen comments; * Documented more accurate \params; * Exposed some more summaries using \brief. llvm-svn: 158559
This commit is contained in:
parent
aff65827fb
commit
be30245442
|
@ -131,7 +131,7 @@ public:
|
|||
/// A scope which attempts to handle some, possibly all, types of
|
||||
/// exceptions.
|
||||
///
|
||||
/// Objective C @finally blocks are represented using a cleanup scope
|
||||
/// Objective C \@finally blocks are represented using a cleanup scope
|
||||
/// after the catch scope.
|
||||
class EHCatchScope : public EHScope {
|
||||
// In effect, we have a flexible array member
|
||||
|
|
|
@ -1164,9 +1164,6 @@ static void CheckAggExprForMemSetUse(AggValueSlot &Slot, const Expr *E,
|
|||
/// type. The result is computed into DestPtr. Note that if DestPtr is null,
|
||||
/// the value of the aggregate expression is not needed. If VolatileDest is
|
||||
/// true, DestPtr cannot be 0.
|
||||
///
|
||||
/// \param IsInitializer - true if this evaluation is initializing an
|
||||
/// object whose lifetime is already being managed.
|
||||
void CodeGenFunction::EmitAggExpr(const Expr *E, AggValueSlot Slot,
|
||||
bool IgnoreResult) {
|
||||
assert(E && hasAggregateLLVMType(E->getType()) &&
|
||||
|
|
|
@ -698,8 +698,9 @@ PropertyImplStrategy::PropertyImplStrategy(CodeGenModule &CGM,
|
|||
Kind = Native;
|
||||
}
|
||||
|
||||
/// GenerateObjCGetter - Generate an Objective-C property getter
|
||||
/// function. The given Decl must be an ObjCImplementationDecl. @synthesize
|
||||
/// \brief Generate an Objective-C property getter function.
|
||||
///
|
||||
/// The given Decl must be an ObjCImplementationDecl. \@synthesize
|
||||
/// is illegal within a category.
|
||||
void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP,
|
||||
const ObjCPropertyImplDecl *PID) {
|
||||
|
@ -1209,8 +1210,9 @@ CodeGenFunction::generateObjCSetterBody(const ObjCImplementationDecl *classImpl,
|
|||
EmitStmt(&assign);
|
||||
}
|
||||
|
||||
/// GenerateObjCSetter - Generate an Objective-C property setter
|
||||
/// function. The given Decl must be an ObjCImplementationDecl. @synthesize
|
||||
/// \brief Generate an Objective-C property setter function.
|
||||
///
|
||||
/// The given Decl must be an ObjCImplementationDecl. \@synthesize
|
||||
/// is illegal within a category.
|
||||
void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP,
|
||||
const ObjCPropertyImplDecl *PID) {
|
||||
|
|
|
@ -91,20 +91,20 @@ protected:
|
|||
llvm::Value *Offset);
|
||||
/// Emits a try / catch statement. This function is intended to be called by
|
||||
/// subclasses, and provides a generic mechanism for generating these, which
|
||||
/// should be usable by all runtimes. The caller must provide the functions to
|
||||
/// call when entering and exiting a @catch() block, and the function used to
|
||||
/// rethrow exceptions. If the begin and end catch functions are NULL, then
|
||||
/// the function assumes that the EH personality function provides the
|
||||
/// thrown object directly.
|
||||
/// should be usable by all runtimes. The caller must provide the functions
|
||||
/// to call when entering and exiting a \@catch() block, and the function
|
||||
/// used to rethrow exceptions. If the begin and end catch functions are
|
||||
/// NULL, then the function assumes that the EH personality function provides
|
||||
/// the thrown object directly.
|
||||
void EmitTryCatchStmt(CodeGenFunction &CGF,
|
||||
const ObjCAtTryStmt &S,
|
||||
llvm::Constant *beginCatchFn,
|
||||
llvm::Constant *endCatchFn,
|
||||
llvm::Constant *exceptionRethrowFn);
|
||||
/// Emits an @synchronize() statement, using the syncEnterFn and syncExitFn
|
||||
/// arguments as the functions called to lock and unlock the object. This
|
||||
/// function can be called by subclasses that use zero-cost exception
|
||||
/// handling.
|
||||
/// Emits an \@synchronize() statement, using the \p syncEnterFn and
|
||||
/// \p syncExitFn arguments as the functions called to lock and unlock
|
||||
/// the object. This function can be called by subclasses that use
|
||||
/// zero-cost exception handling.
|
||||
void EmitAtSynchronizedStmt(CodeGenFunction &CGF,
|
||||
const ObjCAtSynchronizedStmt &S,
|
||||
llvm::Function *syncEnterFn,
|
||||
|
|
|
@ -687,10 +687,10 @@ void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type,
|
|||
/// emitNonZeroVLAInit - Emit the "zero" initialization of a
|
||||
/// variable-length array whose elements have a non-zero bit-pattern.
|
||||
///
|
||||
/// \param baseType the inner-most element type of the array
|
||||
/// \param src - a char* pointing to the bit-pattern for a single
|
||||
/// base element of the array
|
||||
/// \param sizeInChars - the total size of the VLA, in chars
|
||||
/// \param align - the total alignment of the VLA
|
||||
static void emitNonZeroVLAInit(CodeGenFunction &CGF, QualType baseType,
|
||||
llvm::Value *dest, llvm::Value *src,
|
||||
llvm::Value *sizeInChars) {
|
||||
|
|
Loading…
Reference in New Issue