clangCodeGen: Fix comments. [-Wdocumentation]

llvm-svn: 246995
This commit is contained in:
NAKAMURA Takumi 2015-09-08 09:42:41 +00:00
parent f7bee71c26
commit ff7a9252e8
3 changed files with 8 additions and 7 deletions

View File

@ -1865,7 +1865,7 @@ void CodeGenFunction::EmitCXXAggrConstructorCall(
/// \param ctor the constructor to call for each element /// \param ctor the constructor to call for each element
/// \param numElements the number of elements in the array; /// \param numElements the number of elements in the array;
/// may be zero /// may be zero
/// \param arrayBegin a T*, where T is the type constructed by ctor /// \param arrayBase a T*, where T is the type constructed by ctor
/// \param zeroInitialize true if each element should be /// \param zeroInitialize true if each element should be
/// zero-initialized before it is constructed /// zero-initialized before it is constructed
void CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, void CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor,

View File

@ -1463,7 +1463,7 @@ void CodeGenFunction::emitDestroy(Address addr, QualType type,
/// ///
/// \param begin - a type* denoting the first element of the array /// \param begin - a type* denoting the first element of the array
/// \param end - a type* denoting one past the end of the array /// \param end - a type* denoting one past the end of the array
/// \param type - the element type of the array /// \param elementType - the element type of the array
/// \param destroyer - the function to call to destroy elements /// \param destroyer - the function to call to destroy elements
/// \param useEHCleanup - whether to push an EH cleanup to destroy /// \param useEHCleanup - whether to push an EH cleanup to destroy
/// the remaining elements in case the destruction of a single /// the remaining elements in case the destruction of a single

View File

@ -474,6 +474,12 @@ public:
/// ///
virtual bool isDynamic(OpenMPScheduleClauseKind ScheduleKind) const; virtual bool isDynamic(OpenMPScheduleClauseKind ScheduleKind) const;
virtual void emitForDispatchInit(CodeGenFunction &CGF, SourceLocation Loc,
OpenMPScheduleClauseKind SchedKind,
unsigned IVSize, bool IVSigned,
bool Ordered, llvm::Value *UB,
llvm::Value *Chunk = nullptr);
/// \brief Call the appropriate runtime routine to initialize it before start /// \brief Call the appropriate runtime routine to initialize it before start
/// of loop. /// of loop.
/// ///
@ -498,11 +504,6 @@ public:
/// \param Chunk Value of the chunk for the static_chunked scheduled loop. /// \param Chunk Value of the chunk for the static_chunked scheduled loop.
/// For the default (nullptr) value, the chunk 1 will be used. /// For the default (nullptr) value, the chunk 1 will be used.
/// ///
virtual void emitForDispatchInit(CodeGenFunction &CGF, SourceLocation Loc,
OpenMPScheduleClauseKind SchedKind,
unsigned IVSize, bool IVSigned,
bool Ordered, llvm::Value *UB,
llvm::Value *Chunk = nullptr);
virtual void emitForStaticInit(CodeGenFunction &CGF, SourceLocation Loc, virtual void emitForStaticInit(CodeGenFunction &CGF, SourceLocation Loc,
OpenMPScheduleClauseKind SchedKind, OpenMPScheduleClauseKind SchedKind,
unsigned IVSize, bool IVSigned, bool Ordered, unsigned IVSize, bool IVSigned, bool Ordered,