aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-12-13 02:10:11 +0000
committerMike McQuaid2016-12-13 02:10:11 +0000
commitcf1fa0c5bc5bf80d21921e5187581de1a7baa08b (patch)
treef9a8d5f84009d4e75f8d875ae4f8770f50f2dc56 /Library/Homebrew/software_spec.rb
parent666463ca2be08261cf103e4870b267f5b461a7f3 (diff)
downloadbrew-cf1fa0c5bc5bf80d21921e5187581de1a7baa08b.tar.bz2
audit: flag use of "fails_with :llvm".
Also, add TODOs for deprecating this properly at a later point.
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index de19ce544..0c230f643 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -173,6 +173,8 @@ class SoftwareSpec
end
def fails_with(compiler, &block)
+ # TODO: deprecate this in future.
+ # odeprecated "fails_with :llvm" if compiler == :llvm
compiler_failures << CompilerFailure.create(compiler, &block)
end