From a5c1f38186573ecbd8d4b0f6b2c28e5b1e2cc922 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 14 Aug 2020 03:21:41 +0200 Subject: [PATCH] Document `CompilerFailure` and `CompilerSelector`. --- Library/Homebrew/compilers.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 25a9a42147..ca19f896f5 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -14,6 +14,9 @@ module CompilerConstants GNU_GCC_VERSIONS.map { |n| "gcc-#{n}" }).freeze end +# Class for checking compiler compatibility for a formula. +# +# @api private class CompilerFailure attr_reader :name @@ -70,6 +73,9 @@ class CompilerFailure }.freeze end +# Class for selecting a compiler for a formula. +# +# @api private class CompilerSelector include CompilerConstants