| chigraph master Systems programming language written for beginners in LLVM

CCompiler.hpp
Go to the documentation of this file.
1
3 #ifndef CHI_C_COMPILER_HPP
4 #define CHI_C_COMPILER_HPP
5
6 #include "chi/Fwd.hpp"
7
8 #include <boost/filesystem/path.hpp>
9 #include <boost/utility/string_view.hpp>
10
11 namespace chi {
12
22 Result compileCToLLVM(const boost::filesystem::path& ctollvmPath, llvm::LLVMContext& llvmContext,
23 std::vector<std::string> arguments, boost::string_view inputCCode,
24 std::unique_ptr<llvm::Module>* toFill);
25
26 } // namespace chi
27
28 #endif // CHI_C_COMPILER_HPP
Fwd.hpp
Forward declares all the chigraph data types.
chi::compileCToLLVM
Result compileCToLLVM(const boost::filesystem::path &ctollvmPath, llvm::LLVMContext &llvmContext, std::vector< std::string > arguments, boost::string_view inputCCode, std::unique_ptr< llvm::Module > *toFill)
Use chi-ctollvm to compile C source code to a llvm module It also uses stdCIncludePaths to find basic...
Definition: CCompiler.cpp:17
chi
The namespace where chigraph lives.
Definition: BitcodeParser.hpp:12