hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
main.cpp File Reference
#include "share/defines.h"
#include <compiler/compilerContext.h>
#include <compiler/frontend/ast.hpp>
#include <compiler/frontend/lexer.hpp>
#include <compiler/ir/IR.h>
#include <compiler/ir/IRLinker.hpp>
#include <compiler/llvmCodegen/llvmCodegenContext.hpp>
#include <compiler/objectLinker/ccObjectLinker.h>
#include <compiler/objectLinker/clObjectLinker.h>
#include <compiler/objectLinker/objectLinker.h>
#include <iostream>
#include <llvm/Support/raw_ostream.h>
#include <share/def.hpp>
#include <stdexcept>
#include <string>
#include <vector>
#include <filesystem>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

std::string getOutputExtension (yoi::IRBuildConfig::BuildType type, std::wstring platform)
 
void printUsage (const char *programName)
 
int main (int argc, const char **argv)
 

Function Documentation

◆ getOutputExtension()

std::string getOutputExtension ( yoi::IRBuildConfig::BuildType  type,
std::wstring  platform 
)

Definition at line 23 of file main.cpp.

References IRBuildConfig::executable, and IRBuildConfig::library.

Referenced by main().

Here is the caller graph for this function:

◆ main()

◆ printUsage()

void printUsage ( const char *  programName)

Definition at line 37 of file main.cpp.

Referenced by main().

Here is the caller graph for this function: