diff options
Diffstat (limited to 'include/clang/AST/StmtObjC.h')
-rw-r--r-- | include/clang/AST/StmtObjC.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/clang/AST/StmtObjC.h b/include/clang/AST/StmtObjC.h index 5260b6985b..571ad76be8 100644 --- a/include/clang/AST/StmtObjC.h +++ b/include/clang/AST/StmtObjC.h @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// /// \file -/// \brief Defines the Objective-C statement AST node classes. +/// Defines the Objective-C statement AST node classes. #ifndef LLVM_CLANG_AST_STMTOBJC_H #define LLVM_CLANG_AST_STMTOBJC_H @@ -18,7 +18,7 @@ namespace clang { -/// \brief Represents Objective-C's collection statement. +/// Represents Objective-C's collection statement. /// /// This is represented as 'for (element 'in' collection-expression)' stmt. class ObjCForCollectionStmt : public Stmt { @@ -70,7 +70,7 @@ public: } }; -/// \brief Represents Objective-C's \@catch statement. +/// Represents Objective-C's \@catch statement. class ObjCAtCatchStmt : public Stmt { private: VarDecl *ExceptionDecl; @@ -116,7 +116,7 @@ public: child_range children() { return child_range(&Body, &Body + 1); } }; -/// \brief Represents Objective-C's \@finally statement +/// Represents Objective-C's \@finally statement class ObjCAtFinallyStmt : public Stmt { SourceLocation AtFinallyLoc; Stmt *AtFinallyStmt; @@ -150,7 +150,7 @@ public: } }; -/// \brief Represents Objective-C's \@try ... \@catch ... \@finally statement. +/// Represents Objective-C's \@try ... \@catch ... \@finally statement. class ObjCAtTryStmt : public Stmt { private: // The location of the @ in the \@try. @@ -162,7 +162,7 @@ private: // Whether this statement has a \@finally statement. bool HasFinally : 1; - /// \brief Retrieve the statements that are stored after this \@try statement. + /// Retrieve the statements that are stored after this \@try statement. /// /// The order of the statements in memory follows the order in the source, /// with the \@try body first, followed by the \@catch statements (if any) @@ -189,38 +189,38 @@ public: static ObjCAtTryStmt *CreateEmpty(const ASTContext &Context, unsigned NumCatchStmts, bool HasFinally); - /// \brief Retrieve the location of the @ in the \@try. + /// Retrieve the location of the @ in the \@try. SourceLocation getAtTryLoc() const { return AtTryLoc; } void setAtTryLoc(SourceLocation Loc) { AtTryLoc = Loc; } - /// \brief Retrieve the \@try body. + /// Retrieve the \@try body. const Stmt *getTryBody() const { return getStmts()[0]; } Stmt *getTryBody() { return getStmts()[0]; } void setTryBody(Stmt *S) { getStmts()[0] = S; } - /// \brief Retrieve the number of \@catch statements in this try-catch-finally + /// Retrieve the number of \@catch statements in this try-catch-finally /// block. unsigned getNumCatchStmts() const { return NumCatchStmts; } - /// \brief Retrieve a \@catch statement. + /// Retrieve a \@catch statement. const ObjCAtCatchStmt *getCatchStmt(unsigned I) const { assert(I < NumCatchStmts && "Out-of-bounds @catch index"); return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); } - /// \brief Retrieve a \@catch statement. + /// Retrieve a \@catch statement. ObjCAtCatchStmt *getCatchStmt(unsigned I) { assert(I < NumCatchStmts && "Out-of-bounds @catch index"); return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); } - /// \brief Set a particular catch statement. + /// Set a particular catch statement. void setCatchStmt(unsigned I, ObjCAtCatchStmt *S) { assert(I < NumCatchStmts && "Out-of-bounds @catch index"); getStmts()[I + 1] = S; } - /// \brief Retrieve the \@finally statement, if any. + /// Retrieve the \@finally statement, if any. const ObjCAtFinallyStmt *getFinallyStmt() const { if (!HasFinally) return nullptr; @@ -251,7 +251,7 @@ public: } }; -/// \brief Represents Objective-C's \@synchronized statement. +/// Represents Objective-C's \@synchronized statement. /// /// Example: /// \code @@ -309,7 +309,7 @@ public: } }; -/// \brief Represents Objective-C's \@throw statement. +/// Represents Objective-C's \@throw statement. class ObjCAtThrowStmt : public Stmt { SourceLocation AtThrowLoc; Stmt *Throw; @@ -341,7 +341,7 @@ public: child_range children() { return child_range(&Throw, &Throw+1); } }; -/// \brief Represents Objective-C's \@autoreleasepool Statement +/// Represents Objective-C's \@autoreleasepool Statement class ObjCAutoreleasePoolStmt : public Stmt { SourceLocation AtLoc; Stmt *SubStmt; |