Cppcheck
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
SuppressionList::ErrorMessage Struct Reference

#include <suppressions.h>

Public Member Functions

void setFileName (std::string s)
 
const std::string & getFileName () const
 

Static Public Member Functions

static SuppressionList::ErrorMessage fromErrorMessage (const ::ErrorMessage &msg, const std::set< std::string > &macroNames)
 

Public Attributes

std::size_t hash
 
std::string errorId
 
int lineNumber
 
Certainty certainty
 
std::string symbolNames
 
std::set< std::string > macroNames
 

Private Attributes

std::string mFileName
 

Detailed Description

Definition at line 49 of file suppressions.h.

Member Function Documentation

◆ fromErrorMessage()

SuppressionList::ErrorMessage SuppressionList::ErrorMessage::fromErrorMessage ( const ::ErrorMessage msg,
const std::set< std::string > &  macroNames 
)
static

◆ getFileName()

const std::string& SuppressionList::ErrorMessage::getFileName ( ) const
inline

Definition at line 53 of file suppressions.h.

Referenced by SuppressionList::Suppression::isSuppressed().

◆ setFileName()

void SuppressionList::ErrorMessage::setFileName ( std::string  s)

Definition at line 292 of file suppressions.cpp.

References Path::simplifyPath().

Referenced by fromErrorMessage(), and CheckThread::parseClangErrors().

Member Data Documentation

◆ certainty

Certainty SuppressionList::ErrorMessage::certainty

Definition at line 57 of file suppressions.h.

Referenced by fromErrorMessage().

◆ errorId

std::string SuppressionList::ErrorMessage::errorId

◆ hash

std::size_t SuppressionList::ErrorMessage::hash

Definition at line 50 of file suppressions.h.

Referenced by fromErrorMessage(), and SuppressionList::Suppression::isSuppressed().

◆ lineNumber

int SuppressionList::ErrorMessage::lineNumber

◆ macroNames

std::set<std::string> SuppressionList::ErrorMessage::macroNames

Definition at line 59 of file suppressions.h.

Referenced by fromErrorMessage(), and SuppressionList::Suppression::isSuppressed().

◆ mFileName

std::string SuppressionList::ErrorMessage::mFileName
private

Definition at line 63 of file suppressions.h.

◆ symbolNames

std::string SuppressionList::ErrorMessage::symbolNames

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