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

#include <suppressions.h>

Public Member Functions

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

Static Public Member Functions

static Suppressions::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()

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

◆ getFileName()

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

Definition at line 53 of file suppressions.h.

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

◆ setFileName()

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

Definition at line 291 of file suppressions.cpp.

References Path::simplifyPath().

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

Member Data Documentation

◆ certainty

Certainty Suppressions::ErrorMessage::certainty

Definition at line 57 of file suppressions.h.

Referenced by fromErrorMessage().

◆ errorId

std::string Suppressions::ErrorMessage::errorId

◆ hash

std::size_t Suppressions::ErrorMessage::hash

Definition at line 50 of file suppressions.h.

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

◆ lineNumber

int Suppressions::ErrorMessage::lineNumber

◆ macroNames

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

Definition at line 59 of file suppressions.h.

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

◆ mFileName

std::string Suppressions::ErrorMessage::mFileName
private

Definition at line 63 of file suppressions.h.

◆ symbolNames

std::string Suppressions::ErrorMessage::symbolNames

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