forked from OSchip/llvm-project
[lsan] Fix SyntaxWarning: "is" with a literal
This commit is contained in:
parent
05fe069790
commit
02c74907e0
|
@ -70,7 +70,7 @@ config.substitutions.append( ("%clang_lsan ", build_invocation(clang_lsan_cflags
|
||||||
config.substitutions.append( ("%clangxx_lsan ", build_invocation(clang_lsan_cxxflags)) )
|
config.substitutions.append( ("%clangxx_lsan ", build_invocation(clang_lsan_cxxflags)) )
|
||||||
|
|
||||||
# LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, s390x Linux and x86_64 Darwin.
|
# LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, s390x Linux and x86_64 Darwin.
|
||||||
supported_linux = config.host_os is 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'ppc64le', 'mips64', 'arm', 'armhf', 'armv7l', 's390x']
|
supported_linux = config.host_os == 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'ppc64le', 'mips64', 'arm', 'armhf', 'armv7l', 's390x']
|
||||||
supported_darwin = config.host_os == 'Darwin' and config.target_arch in ['x86_64']
|
supported_darwin = config.host_os == 'Darwin' and config.target_arch in ['x86_64']
|
||||||
supported_netbsd = config.host_os == 'NetBSD' and config.target_arch in ['x86_64', 'i386']
|
supported_netbsd = config.host_os == 'NetBSD' and config.target_arch in ['x86_64', 'i386']
|
||||||
if not (supported_linux or supported_darwin or supported_netbsd):
|
if not (supported_linux or supported_darwin or supported_netbsd):
|
||||||
|
|
Loading…
Reference in New Issue