clang-tools
9.0.0
|
Holds an identifier name check failure, tracking the kind of the identifer, its possible fixup and the starting locations of all the identifier usages. More...
#include <IdentifierNamingCheck.h>
Public Member Functions | |
NamingCheckFailure () | |
Public Attributes | |
std::string | KindName |
std::string | Fixup |
bool | ShouldFix |
Whether the failure should be fixed or not. More... | |
llvm::DenseSet< unsigned > | RawUsageLocs |
A set of all the identifier usages starting SourceLocation, in their encoded form. More... | |
Holds an identifier name check failure, tracking the kind of the identifer, its possible fixup and the starting locations of all the identifier usages.
Definition at line 70 of file IdentifierNamingCheck.h.
|
inline |
Definition at line 84 of file IdentifierNamingCheck.h.
std::string clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::Fixup |
Definition at line 72 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().
std::string clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::KindName |
Definition at line 71 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().
llvm::DenseSet<unsigned> clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::RawUsageLocs |
A set of all the identifier usages starting SourceLocation, in their encoded form.
Definition at line 82 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().
bool clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::ShouldFix |
Whether the failure should be fixed or not.
ie: if the identifier was used or declared within a macro we won't offer a fixup for safety reasons.
Definition at line 78 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().