Skip to content

Commit

Permalink
[SCFToCalyx] Add indent size annotation when writing json files (#7993)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahanxie353 authored Dec 13, 2024
1 parent 5ef9ea9 commit c4d40cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Conversion/SCFToCalyx/SCFToCalyx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class BuildOpGroups : public calyx::FuncOpPartialLoweringPattern {
return failure();
}
llvm::raw_os_ostream llvmOut(outFile);
llvm::json::OStream jsonOS(llvmOut, 2);
llvm::json::OStream jsonOS(llvmOut, /*IndentSize=*/2);
jsonOS.value(getState<ComponentLoweringState>().getExtMemData());
jsonOS.flush();
outFile.close();
Expand Down

0 comments on commit c4d40cf

Please sign in to comment.