Skip to content

Commit 6241cb3

Browse files
authored
Driver: Fix two comments for accuracy.
Reviewers: carlocab, AaronBallman Reviewed By: carlocab Pull Request: #157769
1 parent 8062b16 commit 6241cb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5453,13 +5453,14 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
54535453
const bool IsAssertBuild = true;
54545454
#endif
54555455

5456-
// Disable the verification pass in asserts builds unless otherwise specified.
5456+
// Disable the verification pass in no-asserts builds unless otherwise
5457+
// specified.
54575458
if (Args.hasFlag(options::OPT_fno_verify_intermediate_code,
54585459
options::OPT_fverify_intermediate_code, !IsAssertBuild)) {
54595460
CmdArgs.push_back("-disable-llvm-verifier");
54605461
}
54615462

5462-
// Discard value names in assert builds unless otherwise specified.
5463+
// Discard value names in no-asserts builds unless otherwise specified.
54635464
if (Args.hasFlag(options::OPT_fdiscard_value_names,
54645465
options::OPT_fno_discard_value_names, !IsAssertBuild)) {
54655466
if (Args.hasArg(options::OPT_fdiscard_value_names) &&

0 commit comments

Comments
 (0)