@@ -175,7 +175,7 @@ static void addDefaultIgnorelists(const Driver &D, SanitizerMask Kinds,
175
175
DiagnoseErrors);
176
176
}
177
177
178
- // / Parse -f(no-)?sanitize-(coverage-)?(white |ignore)list argument's values,
178
+ // / Parse -f(no-)?sanitize-(coverage-)?(allow |ignore)list argument's values,
179
179
// / diagnosing any invalid file paths and validating special case list format.
180
180
static void parseSpecialCaseListArg (const Driver &D,
181
181
const llvm::opt::ArgList &Args,
@@ -185,7 +185,7 @@ static void parseSpecialCaseListArg(const Driver &D,
185
185
unsigned MalformedSCLErrorDiagID,
186
186
bool DiagnoseErrors) {
187
187
for (const auto *Arg : Args) {
188
- // Match -fsanitize-(coverage-)?(white |ignore)list.
188
+ // Match -fsanitize-(coverage-)?(allow |ignore)list.
189
189
if (Arg->getOption ().matches (SCLOptionID)) {
190
190
Arg->claim ();
191
191
std::string SCLPath = Arg->getValue ();
@@ -788,7 +788,7 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
788
788
CoverageFeatures |= CoverageFunc;
789
789
}
790
790
791
- // Parse -fsanitize-coverage-(ignore|white )list options if coverage enabled.
791
+ // Parse -fsanitize-coverage-(allow|ignore )list options if coverage enabled.
792
792
// This also validates special case lists format.
793
793
// Here, OptSpecifier() acts as a never-matching command-line argument.
794
794
// So, there is no way to clear coverage lists but you can append to them.
0 commit comments