clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::tidy::ClangTidyOptions::ClangTidyValue Struct Reference

Helper structure for storing option value with priority of the value. More...

#include <ClangTidyOptions.h>

Public Member Functions

 ClangTidyValue ()=default
 
 ClangTidyValue (const char *Value)
 
 ClangTidyValue (llvm::StringRef Value, unsigned Priority=0)
 

Public Attributes

std::string Value
 
unsigned Priority = 0
 Priority stores relative precedence of the value loaded from config files to disambiguate local vs global value from different levels.
 

Detailed Description

Helper structure for storing option value with priority of the value.

Definition at line 114 of file ClangTidyOptions.h.

Constructor & Destructor Documentation

◆ ClangTidyValue() [1/3]

clang::tidy::ClangTidyOptions::ClangTidyValue::ClangTidyValue ( )
default

◆ ClangTidyValue() [2/3]

clang::tidy::ClangTidyOptions::ClangTidyValue::ClangTidyValue ( const char *  Value)
inline

Definition at line 116 of file ClangTidyOptions.h.

◆ ClangTidyValue() [3/3]

clang::tidy::ClangTidyOptions::ClangTidyValue::ClangTidyValue ( llvm::StringRef  Value,
unsigned  Priority = 0 
)
inline

Definition at line 117 of file ClangTidyOptions.h.

Member Data Documentation

◆ Priority

unsigned clang::tidy::ClangTidyOptions::ClangTidyValue::Priority = 0

Priority stores relative precedence of the value loaded from config files to disambiguate local vs global value from different levels.

Definition at line 123 of file ClangTidyOptions.h.

◆ Value

std::string clang::tidy::ClangTidyOptions::ClangTidyValue::Value

Definition at line 120 of file ClangTidyOptions.h.


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