clang-tools  11.0.0
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:
[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 99 of file ClangTidyOptions.h.

Constructor & Destructor Documentation

◆ ClangTidyValue() [1/3]

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

Definition at line 100 of file ClangTidyOptions.h.

◆ ClangTidyValue() [2/3]

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

Definition at line 101 of file ClangTidyOptions.h.

◆ ClangTidyValue() [3/3]

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

Definition at line 102 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 108 of file ClangTidyOptions.h.

◆ Value

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

Definition at line 105 of file ClangTidyOptions.h.


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