Skip to content

Commit

Permalink
Add missing braces
Browse files Browse the repository at this point in the history
Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com>
  • Loading branch information
dwblaikie and CarbonInfraBot committed Aug 19, 2024
1 parent 58981cd commit 391bb7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toolchain/lower/file_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ auto FileContext::Run() -> std::unique_ptr<llvm::Module> {
}

auto FileContext::BuildCompileUnit(llvm::StringRef module_name) -> void {
if (!include_debug_info_)
if (!include_debug_info_) {
return;
}
// FIXME: Include directory path in the cu_file.
llvm::DIFile* cu_file = di_builder_.createFile(module_name, "");
// FIXME: Introduce a new language code for Carbon. C works well for now since
Expand Down

0 comments on commit 391bb7d

Please sign in to comment.