clang-tools
3.8.0
|
Holds an identifier name check failure, tracking the kind of the identifer, its possible fixup and the starting locations of all the idenfiier 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 idenfiier usages.
Definition at line 68 of file IdentifierNamingCheck.h.
|
inline |
Definition at line 82 of file IdentifierNamingCheck.h.
std::string clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::Fixup |
Definition at line 70 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::check(), and clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().
std::string clang::tidy::readability::IdentifierNamingCheck::NamingCheckFailure::KindName |
Definition at line 69 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::check(), and 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 80 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 76 of file IdentifierNamingCheck.h.
Referenced by clang::tidy::readability::IdentifierNamingCheck::onEndOfTranslationUnit().