Lines Matching full:when

39           when=lambda cfg: hasCompileFlag(cfg, '-fcoroutines-ts') and
44 when=lambda cfg: hasCompileFlag(cfg, '-Werror=thread-safety'),
48 when=lambda cfg: hasCompileFlag(cfg, '-Wuser-defined-warnings'),
58 when=lambda cfg: hasCompileFlag(cfg, '-fconstexpr-steps=1')),
61 when=lambda cfg: hasCompileFlag(cfg, '-fconstexpr-ops-limit=1')),
63 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')),
64 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo…
65 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo…
66 …Feature(name='fdelayed-template-parsing', when=lambda cfg: hasCompileFlag(cfg, '-fdelayed-temp…
67 …Feature(name='libcpp-no-coroutines', when=lambda cfg: featureTestMacros(cfg).get('__cpp_i…
68 …Feature(name='has-fobjc-arc', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+…
70 …Feature(name='objective-c++', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+…
71 …Feature(name='verify-support', when=lambda cfg: hasCompileFlag(cfg, '-Xclang -verif…
74 when=lambda cfg: sourceBuilds(cfg, """
83 when=lambda cfg: sourceBuilds(cfg, """
99 when=lambda cfg: not sourceBuilds(cfg, """
106when=lambda cfg: not '_LIBCPP_HAS_NO_LOCALIZATION' in compilerMacros(cfg) and '_WIN32' in compiler…
118 when=lambda cfg: '_WIN32' in compilerMacros(cfg) and not programSucceeds(cfg, """
131when=lambda cfg: not '_LIBCPP_HAS_NO_LOCALIZATION' in compilerMacros(cfg) and not programSucceeds(…
141 when=lambda cfg: sourceBuilds(cfg, """
150 # This is not always the case, for example when running on embedded systems.
158 when=lambda cfg: runScriptExitCode(cfg, ['%{exec} bash -c \'bash --version\'']) != 0),
160 when=lambda cfg: _getSuitableClangTidy(cfg) is not None,
163when=_isAppleClang),
164 …or__}'.format(**compilerMacros(cfg)), when=_isAppleClang),
165 …or__}.{__clang_minor__}'.format(**compilerMacros(cfg)), when=_isAppleClang),
166 …or__}.{__clang_minor__}.{__clang_patchlevel__}'.format(**compilerMacros(cfg)), when=_isAppleClang),
168when=_isClang),
169 …r__}'.format(**compilerMacros(cfg)), when=_isClang),
170 …r__}.{__clang_minor__}'.format(**compilerMacros(cfg)), when=_isClang),
171 …r__}.{__clang_minor__}.{__clang_patchlevel__}'.format(**compilerMacros(cfg)), when=_isClang),
179when=_isGCC,
183 …ormat(**compilerMacros(cfg)), when=_isGCC),
184 …_GNUC_MINOR__}'.format(**compilerMacros(cfg)), when=_isGCC),
185 …_GNUC_MINOR__}.{__GNUC_PATCHLEVEL__}'.format(**compilerMacros(cfg)), when=_isGCC),
187when=_isMSVC),
188 …msvcVersion(cfg)), when=_isMSVC),
189 …(*_msvcVersion(cfg)), when=_isMSVC),
197 # `libcpp-xxx-yyy-zzz`. When a macro is defined to a specific value
220 when=lambda cfg, m=macro: m in compilerMacros(cfg))
240 when=lambda cfg, alts=alts: hasAnyLocale(cfg, alts)))
245 Feature(name='darwin', when=lambda cfg: '__APPLE__' in compilerMacros(cfg)),
246 Feature(name='windows', when=lambda cfg: '_WIN32' in compilerMacros(cfg)),
247 …Feature(name='windows-dll', when=lambda cfg: '_WIN32' in compilerMacros(cfg) and programSucceeds(c…
275 Feature(name='linux', when=lambda cfg: '__linux__' in compilerMacros(cfg)),
276 Feature(name='netbsd', when=lambda cfg: '__NetBSD__' in compilerMacros(cfg)),
277 Feature(name='freebsd', when=lambda cfg: '__FreeBSD__' in compilerMacros(cfg)),
278 Feature(name='LIBCXX-FREEBSD-FIXME', when=lambda cfg: '__FreeBSD__' in compilerMacros(cfg)),
287 …Feature(name='buildhost=windows', when=lambda cfg: platform.system().lower().startswith('windows')…
288 …Feature(name='buildhost=freebsd', when=lambda cfg: platform.system().lower().startswith('freebsd')…
289 Feature(name='buildhost=aix', when=lambda cfg: platform.system().lower().startswith('aix'))
322 when=check_gdb,