]> granicus.if.org Git - clang/commitdiff
clangCodeGen: Fix comments. [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 8 Sep 2015 09:42:41 +0000 (09:42 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 8 Sep 2015 09:42:41 +0000 (09:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246995 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGClass.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGOpenMPRuntime.h

index ebeb098ba1e2e44ac58ae962fd8f1480da43fdf5..45ef0f52b016626cbf31c96fe6140dc010aa31bc 100644 (file)
@@ -1865,7 +1865,7 @@ void CodeGenFunction::EmitCXXAggrConstructorCall(
 /// \param ctor the constructor to call for each element
 /// \param numElements the number of elements in the array;
 ///   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
 ///   zero-initialized before it is constructed
 void CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor,
index 57bec7f472763754ab78a094ba98507a5f7bf577..587281c86e93599a8abdf2ba9029e58cb2e64c38 100644 (file)
@@ -1463,7 +1463,7 @@ void CodeGenFunction::emitDestroy(Address addr, QualType type,
 ///
 /// \param begin - a type* denoting the first element 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 useEHCleanup - whether to push an EH cleanup to destroy
 ///   the remaining elements in case the destruction of a single
index ed26e9505b5eb596e84e295b37b3f386abf9d05b..da6dc108c44114fcd7671a9f2f5794af5c2fef77 100644 (file)
@@ -474,6 +474,12 @@ public:
   ///
   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
   /// of loop.
   ///
@@ -498,11 +504,6 @@ public:
   /// \param Chunk Value of the chunk for the static_chunked scheduled loop.
   /// 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,
                                  OpenMPScheduleClauseKind SchedKind,
                                  unsigned IVSize, bool IVSigned, bool Ordered,