|
Polly 23.0.0git
|
#include "isl_config.h"#include <assert.h>#include <iostream>#include <stdlib.h>#include <type_traits>#include <memory>#include <llvm/Support/raw_ostream.h>#include <llvm/Support/CommandLine.h>#include <llvm/Support/ManagedStatic.h>#include <clang/AST/ASTConsumer.h>#include <clang/Basic/DiagnosticOptions.h>#include <clang/Basic/FileSystemOptions.h>#include <clang/Frontend/CompilerInstance.h>#include <clang/Frontend/TextDiagnosticPrinter.h>#include <clang/Frontend/Utils.h>#include <clang/Lex/HeaderSearch.h>#include <clang/Lex/PreprocessorOptions.h>#include <clang/Lex/Preprocessor.h>#include <clang/Parse/ParseAST.h>#include <clang/Sema/Sema.h>#include "isl-interface/clang_wrap.h"#include "extract_interface.h"#include "generator.h"#include "python.h"#include "plain_cpp.h"#include "cpp_conversion.h"#include "template_cpp.h"Go to the source code of this file.
Classes | |
| struct | MyASTConsumer |
| struct | Extractor |
Functions | |
| static llvm::cl::opt< string > | InputFilename (llvm::cl::Positional, llvm::cl::Required, llvm::cl::desc("<input file>")) |
| static llvm::cl::list< string > | Includes ("I", llvm::cl::desc("Header search path"), llvm::cl::value_desc("path"), llvm::cl::Prefix) |
| static llvm::cl::opt< string > | OutputLanguage (llvm::cl::Required, llvm::cl::ValueRequired, "language", llvm::cl::desc("Bindings to generate"), llvm::cl::value_desc("name")) |
| bool | has_annotation (Decl *decl, const char *name) |
| static bool | is_exported (Decl *decl) |
| static void | generate (MyASTConsumer &consumer, SourceManager &SM) |
| int | main (int argc, char *argv[]) |
|
static |
Definition at line 205 of file extract_interface.cc.
References MyASTConsumer::exported_functions, MyASTConsumer::exported_types, MyASTConsumer::functions, generator::generate(), and OutputLanguage().
Referenced by Extractor::handle().
| bool has_annotation | ( | Decl * | decl, |
| const char * | name ) |
Definition at line 88 of file extract_interface.cc.
References name.
Referenced by generator::gives(), generator::is_constructor(), is_exported(), generator::is_overload(), generator::keeps(), and generator::takes().
|
static |
Referenced by Extractor::add_paths().
|
static |
Referenced by main().
|
static |
Definition at line 107 of file extract_interface.cc.
References has_annotation().
Referenced by MyASTConsumer::HandleTopLevelDecl().
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 254 of file extract_interface.cc.
References InputFilename(), and isl::clang::Wrap::invoke().
|
static |
Referenced by generate().