clang-tools  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::tidy::bugprone::ValueRange Struct Reference

Stores a min and a max value which describe an interval. More...

Collaboration diagram for clang::tidy::bugprone::ValueRange:
Collaboration graph
[legend]

Public Member Functions

 ValueRange (const EnumDecl *EnumDec)
 

Public Attributes

llvm::APSInt MinVal
 
llvm::APSInt MaxVal
 

Detailed Description

Stores a min and a max value which describe an interval.

Definition at line 36 of file SuspiciousEnumUsageCheck.cpp.

Constructor & Destructor Documentation

◆ ValueRange()

clang::tidy::bugprone::ValueRange::ValueRange ( const EnumDecl *  EnumDec)
inline

Definition at line 40 of file SuspiciousEnumUsageCheck.cpp.

Member Data Documentation

◆ MaxVal

llvm::APSInt clang::tidy::bugprone::ValueRange::MaxVal

◆ MinVal

llvm::APSInt clang::tidy::bugprone::ValueRange::MinVal

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