LLVM OpenMP 22.0.0git
Sum Class Reference

Public Member Functions

 Sum (int v=0)
Sum operator+ (const Sum &rhs) const
Sumoperator+= (const Sum &rhs)
int getValue () const

Detailed Description

Definition at line 10 of file omp_for_private_reduction.cpp.

Constructor & Destructor Documentation

◆ Sum()

Sum::Sum ( int v = 0)
inline

Definition at line 14 of file omp_for_private_reduction.cpp.

Referenced by operator+(), and operator+=().

Member Function Documentation

◆ getValue()

int Sum::getValue ( ) const
inline

Definition at line 20 of file omp_for_private_reduction.cpp.

Referenced by checkUserDefinedReduction().

◆ operator+()

Sum Sum::operator+ ( const Sum & rhs) const
inline

Definition at line 15 of file omp_for_private_reduction.cpp.

References Sum().

◆ operator+=()

Sum & Sum::operator+= ( const Sum & rhs)
inline

Definition at line 16 of file omp_for_private_reduction.cpp.

References Sum().


The documentation for this class was generated from the following file: