Skip to content

Commit de75787

Browse files
Merge pull request #9170 from rastogishubham/FixMisMergeStable2024
Fix mismerge with remote cache path error
2 parents cb03da3 + 719fbcb commit de75787

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5134,13 +5134,13 @@ bool CompilerInvocation::CreateFromArgsImpl(
51345134
Res.getCASOpts());
51355135

51365136
// BEGIN MCCAS
5137-
if (!Res.getFrontendOpts().CompilationCachingServicePath.empty())
5137+
if (!Res.getFrontendOpts().CompilationCachingServicePath.empty()) {
51385138
if (Res.getCodeGenOpts().UseCASBackend)
51395139
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
51405140
<< "-fcas-backend";
5141-
if (Res.getFrontendOpts().WriteOutputAsCASID) {
5142-
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
5143-
<< "-fcasid-output";
5141+
if (Res.getFrontendOpts().WriteOutputAsCASID)
5142+
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
5143+
<< "-fcasid-output";
51445144
}
51455145
// END MCCAS
51465146

0 commit comments

Comments
 (0)