| 675 | } |
| 676 | |
| 677 | fs::path workspaceFromChildPath(const boost::filesystem::path& path) { |
| 678 | fs::path ret = path; |
| 679 | |
| 680 | // initialize workspace directory |
| 681 | // go up until it is a workspace |
| 682 | while (!ret.empty() && !fs::is_regular_file(ret / ".chigraphworkspace")) { |
| 683 | ret = ret.parent_path(); |
| 684 | } |
| 685 | |
| 686 | return ret; // it's ok if it's empty |
| 687 | } |
| 688 | |
| 689 | std::string stringifyLLVMType(llvm::Type* ty) { |
| 690 | assert(ty != nullptr); |
no outgoing calls
no test coverage detected