| GCC Middle and Back End API Reference
    | 
#include <diagnostic-digraphs.h>
| Public Member Functions | |
| virtual | ~lazy_digraph () | 
| const digraph & | get_or_create_digraph () const | 
| Private Member Functions | |
| virtual std::unique_ptr< digraph > | create_digraph () const =0 | 
| Private Attributes | |
| std::unique_ptr< digraph > | m_digraph | 
Abstract base class for lazily creating a digraph on demand. This allows us to avoid the work of creating the digraph for the common case where we just have a text sink.
| 
 | inlinevirtual | 
| 
 | privatepure virtual | 
Referenced by get_or_create_digraph().
| const diagnostics::digraphs::digraph & diagnostics::digraphs::lazy_digraph::get_or_create_digraph | ( | ) | const | 
References create_digraph(), gcc_assert, and m_digraph.
Referenced by html_builder::emit_global_graph(), and sarif_builder::report_global_digraph().
| 
 | mutableprivate | 
Referenced by get_or_create_digraph().