0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
clanguml::generators::clang_tool_exception Class Reference

Detailed Description

Definition at line 42 of file clang_tool.h.

#include <clang_tool.h>

Public Member Functions

 clang_tool_exception (common::model::diagram_t dt, std::string dn, std::vector< diagnostic > d, std::string description="Clang failed to parse sources.")
 
- Public Member Functions inherited from clanguml::error::diagram_generation_error
 diagram_generation_error (common::model::diagram_t type, std::string name, std::string description)
 
const char * what () const noexcept override
 
const std::string & diagram_name () const noexcept
 
common::model::diagram_t diagram_type () const noexcept
 

Public Attributes

std::vector< diagnosticdiagnostics
 

Constructor & Destructor Documentation

◆ clang_tool_exception()

clanguml::generators::clang_tool_exception::clang_tool_exception ( common::model::diagram_t  dt,
std::string  dn,
std::vector< diagnostic d,
std::string  description = "Clang failed to parse sources." 
)

Definition at line 72 of file clang_tool.cc.

74 : error::diagram_generation_error{dt, dn, description}
75 , diagnostics{std::move(d)}
76{
77}

Member Data Documentation

◆ diagnostics

std::vector<diagnostic> clanguml::generators::clang_tool_exception::diagnostics

Definition at line 48 of file clang_tool.h.


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