Skip to content

Commit 03a5761

Browse files
Copilotnunoplopes
andauthored
Fix clang-format violations in mapper.cpp
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/6c20d029-898f-4b00-9b30-ac5da459b999 Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
1 parent 8e25d70 commit 03a5761

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp2rust/converter/mapper.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,9 @@ clang::QualType normalizeQualType(clang::QualType qual_type) {
531531
}
532532

533533
std::string mapTypeStringRecursive(const std::string &cpp_type) {
534-
auto rule = parallel_search(
535-
types_, [&](const std::string &tpl) { return matchTemplate(tpl, cpp_type); });
534+
auto rule = parallel_search(types_, [&](const std::string &tpl) {
535+
return matchTemplate(tpl, cpp_type);
536+
});
536537
if (rule == types_.end()) {
537538
llvm::errs() << "cpp_type: " << cpp_type << '\n';
538539
assert(0 && "Type is not present in types_");

0 commit comments

Comments
 (0)