struct CXVersion

Declaration

struct CXVersion { /* full declaration omitted */ };

Description

Describes a version number of the form major.minor.subminor.

Declared at: clang/include/clang-c/Index.h:149

Member Variables

public int Major
The major version number, e.g., the '10' in '10.7.3'. A negative value indicates that there is no version number at all.
public int Minor
The minor version number, e.g., the '7' in '10.7.3'. This value will be negative if no minor version number was provided, e.g., for version '10'.
public int Subminor
The subminor version number, e.g., the '3' in '10.7.3'. This value will be negative if no minor or subminor version number was provided, e.g., in version '10' or '10.7'.