-
// +build ignore
module;
#include <string>
#include <iostream>
#include <sstream>
export module leetcode_test.insufficient_nodes_in_root_to_leaf_paths.printTreeNode;
import leetcode_treenode_cpp.TreeNode;
import leetcode_test.insufficient_nodes_in_root_to_leaf_paths.debugTreeNode;
using namespace std;
using namespace leetcode_treenode_cpp;
namespace leetcode_test::insufficient_nodes_in_root_to_leaf_paths {
export void printTreeNode(TreeNode* node)
{
auto s = debugTreeNode(node);
cout << s << endl;
}
}
|
Beta Was this translation helpful? Give feedback.
Answered by
masx200
May 10, 2023
Replies: 2 comments 1 reply
-
它直接调的 clang-format,内部没做啥特别处理,如果有问题,你应该到 clang-format 那反馈 |
Beta Was this translation helpful? Give feedback.
1 reply
-
只需要指定style为webkit就没问题了 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
masx200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
只需要指定style为webkit就没问题了