[triton/ast] renamed ast -> lang in namespace and file structure

This commit is contained in:
Philippe Tillet
2019-05-28 17:22:48 -04:00
parent d2a46afe00
commit 383b5b2a2a
20 changed files with 87 additions and 159 deletions

18
lib/lang/module.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "triton/lang/module.h"
#include "triton/ir/module.h"
namespace triton{
namespace lang{
/* Translation unit */
ir::value* translation_unit::codegen(ir::module *mod) const{
mod->add_new_scope();
decls_.codegen(mod);
return nullptr;
}
}
}