Searched refs:hasCompileFlag (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/libcxx/utils/libcxx/test/ |
| H A D | features.py | 30 when=lambda cfg: hasCompileFlag(cfg, '-fcoroutines-ts') and 35 when=lambda cfg: hasCompileFlag(cfg, '-Werror=thread-safety'), 39 when=lambda cfg: hasCompileFlag(cfg, '-Wuser-defined-warnings'), 42 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')), 43 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo… 44 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo… 45 …Feature(name='fdelayed-template-parsing', when=lambda cfg: hasCompileFlag(cfg, '-fdelayed-temp… 47 …Feature(name='has-fobjc-arc', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+… 49 …Feature(name='objective-c++', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+… 50 …Feature(name='verify-support', when=lambda cfg: hasCompileFlag(cfg, '-Xclang -verif…
|
| H A D | dsl.py | 196 def hasCompileFlag(config, flag): function 383 …assert hasCompileFlag(config, flag), "Trying to enable flag {}, which is not supported".format(fla… 403 if hasCompileFlag(config, flag): 422 …assert hasCompileFlag(config, flag), "Trying to enable compile flag {}, which is not supported".fo… 441 …assert hasCompileFlag(config, flag), "Trying to enable link flag {}, which is not supported".forma… 460 …assert hasCompileFlag(config, flag), "Trying to enable link flag {}, which is not supported".forma… 481 if hasCompileFlag(config, '-Werror ' + flag):
|
| H A D | params.py | 62 if hasCompileFlag(cfg, '-std='+std): 64 if std in fallbacks and hasCompileFlag(cfg, '-std='+fallbacks[std]):
|
| /llvm-project-15.0.7/libcxx/utils/libcxx/ |
| H A D | compiler.py | 54 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)
|
| /llvm-project-15.0.7/libcxx/test/libcxx/selftest/dsl/ |
| H A D | dsl.sh.py | 100 self.assertTrue(dsl.hasCompileFlag(self.config, '')) 103 self.assertTrue(dsl.hasCompileFlag(self.config, '-O1')) 106 self.assertFalse(dsl.hasCompileFlag(self.config, '-this_is_not_a_flag_any_compiler_has')) 109 self.assertTrue(dsl.hasCompileFlag(self.config, '-O1 -Dhello'))
|