llvm.org GIT mirror llvm / 66c439a
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95318 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 10 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
113113 if sub in ('llvmgcc', 'llvmgxx'):
114114 config.substitutions.append(('%' + sub,
115115 site_exp[sub] + ' -emit-llvm -w'))
116 # FIXME: This is a hack to avoid LLVMC tests failing due to a clang driver
117 # warning when passing in "-fexceptions -fno-exceptions".
118 elif sub == 'compile_cxx':
119 config.substitutions.append(('%' + sub,
120 site_exp[sub].replace('-fno-exceptions', '')))
116121 else:
117122 config.substitutions.append(('%' + sub, site_exp[sub]))
118123