Home
last modified time | relevance | path

Searched refs:hasCompileFlag (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dfeatures.py22 when=lambda cfg: hasCompileFlag(cfg, '-fcoroutines-ts') and
27 when=lambda cfg: hasCompileFlag(cfg, '-Werror=thread-safety'),
31 when=lambda cfg: hasCompileFlag(cfg, '-Wuser-defined-warnings'),
34 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')),
35 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo…
36 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo…
37 …Feature(name='fdelayed-template-parsing', when=lambda cfg: hasCompileFlag(cfg, '-fdelayed-temp…
42 …Feature(name='has-fobjc-arc', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+…
44 …Feature(name='objective-c++', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+…
52 when=lambda cfg: hasCompileFlag(cfg, '-fmodules'),
H A Ddsl.py133 def hasCompileFlag(config, flag): function
305 …assert hasCompileFlag(config, flag), "Trying to enable flag {}, which is not supported".format(fla…
325 if hasCompileFlag(config, flag):
344 …assert hasCompileFlag(config, flag), "Trying to enable compile flag {}, which is not supported".fo…
363 …assert hasCompileFlag(config, flag), "Trying to enable link flag {}, which is not supported".forma…
382 …assert hasCompileFlag(config, flag), "Trying to enable link flag {}, which is not supported".forma…
403 if hasCompileFlag(config, '-Werror ' + flag):
H A Dparams.py49 if hasCompileFlag(cfg, '-std='+std):
51 if std in fallbacks and hasCompileFlag(cfg, '-std='+fallbacks[std]):
H A Dconfig.py473 supports_modules = self.cxx.hasCompileFlag(modules_flags)
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/
H A Dcompiler.py54 self.verify_supported = self.hasCompileFlag(['-Xclang',
238 def hasCompileFlag(self, flag): member in CXXCompiler
256 if self.hasCompileFlag(flags):
267 if self.hasCompileFlag(flags):
284 return self.hasCompileFlag(flag)