Rosetta
Namespaces | Functions
type.cpp File Reference
#include <type.hpp>
#include <class.hpp>
#include <enum.hpp>
#include <options.hpp>
#include <util.hpp>
#include <clang/AST/ASTContext.h>
#include <clang/AST/ExprCXX.h>
#include <clang/Basic/SourceManager.h>
#include <llvm/Support/Regex.h>
#include <llvm/ADT/StringMap.h>
#include <cstdlib>
#include <fstream>

Namespaces

 binder
 

Functions

bool binder::is_binding_requested (clang::QualType const &qt, Config const &config)
 check if user requested binding for the given QualType More...
 
bool binder::is_skipping_requested (QualType const &qt, Config const &config)
 
bool binder::is_function_type (QualType const &qt)
 
string binder::relevant_include (NamedDecl const *decl)
 
void binder::add_relevant_include_for_decl (NamedDecl const *decl, IncludeSet &includes)
 
void binder::add_relevant_includes (QualType const &qt, IncludeSet &includes, int level)
 extract include needed for this generator and add it to includes vector More...
 
bool binder::is_bindable (QualType const &qt)
 
void binder::request_bindings (clang::QualType const &qt, Context &context)
 extract type info from QualType if any and bind relative type More...
 
string binder::standard_name_raw (string const &type)
 
string binder::standard_name (std::string const &type)
 transform give type name to standard form More...
 
string binder::simplify_std_class_name_raw (string const &type)
 Attempt to simplify std:: name by removing unneded template arguments. Function assume that there is no 'std::' namespaces prefix at the beginning of the argument string. More...
 
string binder::simplify_std_class_name (string const &type)
 Attempt to simplify std:: name by removing unneded template arguments. Function assume that there is no 'std::' namespaces prefix at the beginning of the argument string. More...
 
bool binder::is_python_builtin (NamedDecl const *C)
 check if given class/struct is builtin in Python and therefor should not be binded More...
 
bool binder::is_banned_symbol (clang::NamedDecl const *D)
 check if class/struct/function/enum is in banned symbol lists More...