Skip to content

Commit 64f51ef

Browse files
committed
format
1 parent 164337f commit 64f51ef

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎cpp2rust/converter/rules/registry.cpp‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ std::unordered_multimap<const void *, TypeRuleDecl> types_;
4040
const llvm::json::Object *findRule(Model model, const std::string &dir,
4141
const std::string &name) {
4242
static std::unordered_map<std::string, llvm::json::Object> indexes;
43-
auto path = std::filesystem::path(RULES_IR_DIR) / dir /
44-
(model == Model::kRefCount ? "ir_refcount.json" : "ir_unsafe.json");
43+
auto path =
44+
std::filesystem::path(RULES_IR_DIR) / dir /
45+
(model == Model::kRefCount ? "ir_refcount.json" : "ir_unsafe.json");
4546
auto [it, inserted] = indexes.try_emplace(path.string());
4647
if (inserted && std::filesystem::exists(path)) {
4748
it->second = RulesLoader::ReadIndex(path);

0 commit comments

Comments
 (0)