Skip to content
Snippets Groups Projects
Commit 914763f2 authored by Galina Kistanova's avatar Galina Kistanova
Browse files

Fixed warning: enum constant in boolean context.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304663 91177308-0d34-0410-b5e6-96231b3b80d8
parent 79d8b9db
No related branches found
No related tags found
No related merge requests found
......@@ -822,8 +822,9 @@ SanitizerMask Linux::getSupportedSanitizers() const {
const bool IsAArch64 = getTriple().getArch() == llvm::Triple::aarch64 ||
getTriple().getArch() == llvm::Triple::aarch64_be;
const bool IsArmArch = getTriple().getArch() == llvm::Triple::arm ||
llvm::Triple::thumb || llvm::Triple::armeb ||
llvm::Triple::thumbeb;
getTriple().getArch() == llvm::Triple::thumb ||
getTriple().getArch() == llvm::Triple::armeb ||
getTriple().getArch() == llvm::Triple::thumbeb;
SanitizerMask Res = ToolChain::getSupportedSanitizers();
Res |= SanitizerKind::Address;
Res |= SanitizerKind::Fuzzer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment