diff options
author | Vedant Kumar <vsk@apple.com> | 2017-02-17 23:22:55 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-02-17 23:22:55 +0000 |
commit | 18348ea9b9d991ce70664187576a13f773496144 (patch) | |
tree | 4c7a08ca634546168477437770a762bbeb0e126d /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f8346550bf967fb1c1767de17b602fae33452587 (diff) | |
download | bcm5719-llvm-18348ea9b9d991ce70664187576a13f773496144.tar.gz bcm5719-llvm-18348ea9b9d991ce70664187576a13f773496144.zip |
[ubsan] Pass a set of checks to skip to EmitTypeCheck() (NFC)
CodeGenFunction::EmitTypeCheck accepts a bool flag which controls
whether or not null checks are emitted. Make this a bit more flexible by
changing the bool to a SanitizerSet.
Needed for an upcoming change which deals with a scenario in which we
only want to emit null checks.
llvm-svn: 295514
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions