Polly 23.0.0git
isl::clang::Wrap Struct Referenceabstract

#include <clang_wrap.h>

Inheritance diagram for isl::clang::Wrap:
[legend]

Public Types

using DiagOptsType = decltype(diag_opts_type<TextDiagnosticPrinter>())

Public Member Functions

template<typename T, typename std::enable_if< TakesDiagnosticOptionsRef< T >::value, bool >::type = true>
DiagnosticOptions & getDiagOpts ()
template<typename T, typename std::enable_if<!TakesDiagnosticOptionsRef< T >::value, bool >::type = true>
DiagnosticOptions * getDiagOpts ()
DiagOptsType getDiagnosticOptions ()
virtual TextDiagnosticPrinter * construct_printer ()=0
virtual void suppress_errors (DiagnosticsEngine &Diags)=0
virtual void add_paths (HeaderSearchOptions &HSO)=0
virtual void add_macros (PreprocessorOptions &PO)=0
virtual void handle_error ()=0
virtual bool handle (CompilerInstance *Clang)=0
bool invoke (const char *filename)

Public Attributes

DiagnosticOptions DiagOpts

Detailed Description

Definition at line 324 of file clang_wrap.h.

Member Typedef Documentation

◆ DiagOptsType

using isl::clang::Wrap::DiagOptsType = decltype(diag_opts_type<TextDiagnosticPrinter>())

Definition at line 328 of file clang_wrap.h.

Member Function Documentation

◆ add_macros()

virtual void isl::clang::Wrap::add_macros ( PreprocessorOptions & PO)
pure virtual

Implemented in Extractor.

Referenced by invoke().

◆ add_paths()

virtual void isl::clang::Wrap::add_paths ( HeaderSearchOptions & HSO)
pure virtual

Implemented in Extractor.

Referenced by invoke().

◆ construct_printer()

virtual TextDiagnosticPrinter * isl::clang::Wrap::construct_printer ( )
pure virtual

Implemented in Extractor.

Referenced by invoke().

◆ getDiagnosticOptions()

DiagOptsType isl::clang::Wrap::getDiagnosticOptions ( )
inline

Definition at line 360 of file clang_wrap.h.

References getDiagOpts().

Referenced by Extractor::construct_printer().

◆ getDiagOpts() [1/2]

template<typename T, typename std::enable_if< TakesDiagnosticOptionsRef< T >::value, bool >::type = true>
DiagnosticOptions & isl::clang::Wrap::getDiagOpts ( )
inline

Definition at line 344 of file clang_wrap.h.

References DiagOpts.

Referenced by getDiagnosticOptions().

◆ getDiagOpts() [2/2]

template<typename T, typename std::enable_if<!TakesDiagnosticOptionsRef< T >::value, bool >::type = true>
DiagnosticOptions * isl::clang::Wrap::getDiagOpts ( )
inline

Definition at line 350 of file clang_wrap.h.

◆ handle()

virtual bool isl::clang::Wrap::handle ( CompilerInstance * Clang)
pure virtual

Implemented in Extractor.

Referenced by invoke().

◆ handle_error()

virtual void isl::clang::Wrap::handle_error ( )
pure virtual

Implemented in Extractor.

Referenced by invoke().

◆ invoke()

◆ suppress_errors()

virtual void isl::clang::Wrap::suppress_errors ( DiagnosticsEngine & Diags)
pure virtual

Implemented in Extractor.

Referenced by invoke().

Member Data Documentation

◆ DiagOpts

DiagnosticOptions isl::clang::Wrap::DiagOpts

Definition at line 333 of file clang_wrap.h.

Referenced by getDiagOpts().


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