LLVM 24.0.0git
llvm::omp::Version Struct Reference

#include "llvm/Frontend/OpenMP/OMPVersion.h"

Public Types

using value_type = unsigned

Public Member Functions

constexpr Version (value_type Ver=0)
constexpr operator value_type () const
constexpr operator bool () const

Friends

constexpr bool operator< (Version A, Version B)
constexpr bool operator== (Version A, Version B)

Detailed Description

Definition at line 20 of file OMPVersion.h.

Member Typedef Documentation

◆ value_type

Definition at line 21 of file OMPVersion.h.

Constructor & Destructor Documentation

◆ Version()

llvm::omp::Version::Version ( value_type Ver = 0)
inlineexplicitconstexpr

Definition at line 22 of file OMPVersion.h.

Referenced by operator<, and operator==.

Member Function Documentation

◆ operator bool()

llvm::omp::Version::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 24 of file OMPVersion.h.

◆ operator value_type()

llvm::omp::Version::operator value_type ( ) const
inlineexplicitconstexpr

Definition at line 23 of file OMPVersion.h.

◆ operator<

bool operator< ( Version A,
Version B )
friend

Definition at line 35 of file OMPVersion.h.

References A(), B(), and Version().

◆ operator==

bool operator== ( Version A,
Version B )
friend

Definition at line 33 of file OMPVersion.h.

References A(), B(), and Version().


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