diff options
author | Melanie Blower <melanie.blower@intel.com> | 2021-02-22 14:47:29 -0500 |
---|---|---|
committer | Melanie Blower <melanie.blower@intel.com> | 2021-02-22 15:11:37 -0500 |
commit | e64fcdf8d53c1d2ab709394c39743fa11d270181 (patch) | |
tree | 9791aa5ec49cf6ac5bdb3ecc03109aa810c8c907 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1cd2a5a7da3db812fe2844caefcd40f8a52eff5b (diff) | |
download | llvm-e64fcdf8d53c1d2ab709394c39743fa11d270181.zip llvm-e64fcdf8d53c1d2ab709394c39743fa11d270181.tar.gz llvm-e64fcdf8d53c1d2ab709394c39743fa11d270181.tar.bz2 |
[clang][patch] Inclusive language, modify filename SanitizerBlacklist.h to NoSanitizeList.h
This patch responds to a comment from @vitalybuka in D96203: suggestion to
do the change incrementally, and start by modifying this file name. I modified
the file name and made the other changes that follow from that rename.
Reviewers: vitalybuka, echristo, MaskRay, jansvoboda11, aaron.ballman
Differential Revision: https://reviews.llvm.org/D96974
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index f552b27..5888866 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -711,14 +711,14 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, CurFnInfo = &FnInfo; assert(CurFn->isDeclaration() && "Function already has body?"); - // If this function has been blacklisted for any of the enabled sanitizers, + // If this function is ignored for any of the enabled sanitizers, // disable the sanitizer for the function. do { #define SANITIZER(NAME, ID) \ if (SanOpts.empty()) \ break; \ if (SanOpts.has(SanitizerKind::ID)) \ - if (CGM.isInSanitizerBlacklist(SanitizerKind::ID, Fn, Loc)) \ + if (CGM.isInNoSanitizeList(SanitizerKind::ID, Fn, Loc)) \ SanOpts.set(SanitizerKind::ID, false); #include "clang/Basic/Sanitizers.def" |