codegen_dummy.cpp 516 B

12345678910111213141516171819202122232425
  1. #include "codegen.h"
  2. #include <util/generic/yexception.h>
  3. namespace NYql {
  4. namespace NCodegen {
  5. ICodegen::TPtr ICodegen::Make(ETarget target, ESanitize sanitize) {
  6. Y_UNUSED(target);
  7. Y_UNUSED(sanitize);
  8. throw yexception() << "Codegen is not available";
  9. }
  10. ICodegen::TSharedPtr ICodegen::MakeShared(ETarget target, ESanitize sanitize) {
  11. Y_UNUSED(target);
  12. Y_UNUSED(sanitize);
  13. throw yexception() << "Codegen is not available";
  14. }
  15. bool ICodegen::IsCodegenAvailable() {
  16. return false;
  17. }
  18. }
  19. }