OpenADFortTk (basic)
src/whirl2sexp/main.cxx File Reference
#include <iostream>
#include <string>
#include "Open64IRInterface/Open64BasicTypes.h"
#include "cmplrs/rcodes.h"
#include "tracing.h"
#include "ir_reader.h"
#include "Open64IRInterface/WhirlIO.h"
#include "Open64IRInterface/IFDiagnostics.h"
#include "Diagnostics.h"
#include "sexpostream.h"
#include "Args.h"
#include "whirl2sexp.h"
#include "Exception.h"
Include dependency graph for main.cxx:

Go to the source code of this file.

Functions

static int real_main (int argc, char **argv)
static std::ostream * InitOutputStream (Args &args)
static void FiniOutputStream (std::ostream *os)
static void OpenFile (std::ofstream &fs, const char *filename)
static void CloseFile (std::ofstream &fs)
int main (int argc, char **argv)

Function Documentation

static void CloseFile ( std::ofstream &  fs) [static]

Definition at line 167 of file main.cxx.

static void FiniOutputStream ( std::ostream *  os) [static]

Definition at line 147 of file main.cxx.

Referenced by real_main().

static std::ostream * InitOutputStream ( Args args) [static]

Definition at line 134 of file main.cxx.

References OpenFile(), and Args::sexpFileNm.

Referenced by real_main().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 42 of file main.cxx.

References real_main(), fortTkSupport::BaseException::Report(), sexp::ostream::Exception::Report(), and CmdLineParser::Exception::Report().

Here is the call graph for this function:

static void OpenFile ( std::ofstream &  fs,
const char *  filename 
) [static]

Definition at line 156 of file main.cxx.

Referenced by InitOutputStream().

static int real_main ( int  argc,
char **  argv 
) [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines