souffle  2.0.2-371-g6315b36
Public Member Functions | Private Member Functions
souffle::ast::transform::PragmaChecker Class Reference

#include <PragmaChecker.h>

Inheritance diagram for souffle::ast::transform::PragmaChecker:
Inheritance graph
Collaboration diagram for souffle::ast::transform::PragmaChecker:
Collaboration graph

Public Member Functions

PragmaCheckerclone () const override
 
std::string getName () const override
 
- Public Member Functions inherited from souffle::ast::transform::Transformer
bool apply (TranslationUnit &translationUnit)
 
virtual ~Transformer ()=default
 

Private Member Functions

bool transform (TranslationUnit &) override
 

Detailed Description

Definition at line 31 of file PragmaChecker.h.

Member Function Documentation

◆ clone()

PragmaChecker* souffle::ast::transform::PragmaChecker::clone ( ) const
inlineoverridevirtual

Implements souffle::ast::transform::Transformer.

Definition at line 43 of file PragmaChecker.h.

◆ getName()

std::string souffle::ast::transform::PragmaChecker::getName ( ) const
inlineoverridevirtual

Implements souffle::ast::transform::Transformer.

Definition at line 39 of file PragmaChecker.h.

◆ transform()

bool souffle::ast::transform::PragmaChecker::transform ( TranslationUnit translationUnit)
overrideprivatevirtual

Implements souffle::ast::transform::Transformer.

Definition at line 33 of file PragmaChecker.cpp.

36  {
37  changed = true;
38  Global::config().set(kvp.first, kvp.second);
39  }
40  });
41 
42  return changed;
43 }
44 } // namespace souffle::ast::transform

The documentation for this class was generated from the following files:
souffle::Global::config
static MainConfig & config()
Definition: Global.h:141