clang-tools  14.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>

Collaboration diagram for clang::tidy::ClangTidyOptions::ClangTidyValue:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 103 of file ClangTidyOptions.h.

Constructor & Destructor Documentation

◆ ClangTidyValue() [1/3]

clang::tidy::ClangTidyOptions::ClangTidyValue::ClangTidyValue ( )
inline

Definition at line 104 of file ClangTidyOptions.h.

◆ ClangTidyValue() [2/3]

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

Definition at line 105 of file ClangTidyOptions.h.

◆ ClangTidyValue() [3/3]

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

Definition at line 106 of file ClangTidyOptions.h.

Member Data Documentation

◆ Priority

unsigned clang::tidy::ClangTidyOptions::ClangTidyValue::Priority

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

Definition at line 112 of file ClangTidyOptions.h.

◆ Value

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

Definition at line 109 of file ClangTidyOptions.h.


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