forked from OSchip/llvm-project
[clang] Inclusive language: change error message to use allowlist
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D112627
This commit is contained in:
parent
bd8a9507ef
commit
c001775a3a
|
@ -187,8 +187,8 @@ def err_drv_invalid_argument_to_option : Error<
|
|||
"invalid argument '%0' to -%1">;
|
||||
def err_drv_malformed_sanitizer_ignorelist : Error<
|
||||
"malformed sanitizer ignorelist: '%0'">;
|
||||
def err_drv_malformed_sanitizer_coverage_whitelist : Error<
|
||||
"malformed sanitizer coverage whitelist: '%0'">;
|
||||
def err_drv_malformed_sanitizer_coverage_allowlist : Error<
|
||||
"malformed sanitizer coverage allowlist: '%0'">;
|
||||
def err_drv_malformed_sanitizer_coverage_ignorelist : Error<
|
||||
"malformed sanitizer coverage ignorelist: '%0'">;
|
||||
def err_drv_duplicate_config : Error<
|
||||
|
|
|
@ -756,7 +756,7 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
|
|||
parseSpecialCaseListArg(
|
||||
D, Args, CoverageAllowlistFiles,
|
||||
options::OPT_fsanitize_coverage_allowlist, OptSpecifier(),
|
||||
clang::diag::err_drv_malformed_sanitizer_coverage_whitelist);
|
||||
clang::diag::err_drv_malformed_sanitizer_coverage_allowlist);
|
||||
parseSpecialCaseListArg(
|
||||
D, Args, CoverageIgnorelistFiles,
|
||||
options::OPT_fsanitize_coverage_ignorelist, OptSpecifier(),
|
||||
|
|
Loading…
Reference in New Issue