26     case InternalError::Type::AST:
 
   27         return "internalAstError";
 
   28     case InternalError::Type::SYNTAX:
 
   30     case InternalError::Type::UNKNOWN_MACRO:
 
   31         return "unknownMacro";
 
   32     case InternalError::Type::INTERNAL:
 
   33         return "internalError";
 
   34     case InternalError::Type::LIMIT:
 
   35         return "cppcheckLimit";
 
   36     case InternalError::Type::INSTANTIATION:
 
   37         return "instantiationError";
 
   47     token(tok), errorMessage(std::move(errorMsg)), details(std::move(details)), type(type), id(
typeToString(type))
 
   80     if (severity == 
"none")
 
   82     if (severity == 
"error")
 
   84     if (severity == 
"warning")
 
   86     if (severity == 
"style")
 
   88     if (severity == 
"performance")
 
   90     if (severity == 
"portability")
 
   92     if (severity == 
"information")
 
   94     if (severity == 
"debug")
 
   96     if (severity == 
"internal")
 
The token list that the TokenList generates is a linked-list of this class.
 
Information about a class type.
 
static std::string typeToString(InternalError::Type type)
 
Severity
enum class for severity.
 
Severity severityFromString(const std::string &severity)
 
std::string severityToString(Severity severity)
 
@ none
No severity (default value).
 
@ portability
Portability warning.
 
@ information
Checking information.
 
@ performance
Performance warning.
 
@ error
Programming error.
 
@ internal
Internal message.
 
NORETURN void unreachable()
 
Simple container to be thrown when internal error is detected.
 
InternalError(const Token *tok, std::string errorMsg, Type type=INTERNAL)