Skip to content

Commit 834570a

Browse files
Merge pull request #9167 from rastogishubham/FixMismerge
Fix mismerge with remote cache path error
2 parents 7a78808 + 0a90143 commit 834570a

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
@@ -4919,13 +4919,13 @@ bool CompilerInvocation::CreateFromArgsImpl(
49194919
Res.getCASOpts());
49204920

49214921
// BEGIN MCCAS
4922-
if (!Res.getFrontendOpts().CompilationCachingServicePath.empty())
4922+
if (!Res.getFrontendOpts().CompilationCachingServicePath.empty()) {
49234923
if (Res.getCodeGenOpts().UseCASBackend)
49244924
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
49254925
<< "-fcas-backend";
4926-
if (Res.getFrontendOpts().WriteOutputAsCASID) {
4927-
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
4928-
<< "-fcasid-output";
4926+
if (Res.getFrontendOpts().WriteOutputAsCASID)
4927+
Diags.Report(diag::err_fe_incompatible_option_with_remote_cache)
4928+
<< "-fcasid-output";
49294929
}
49304930
// END MCCAS
49314931

0 commit comments

Comments
 (0)