diff options
author | Matt Godbolt <matt@godbolt.org> | 2019-03-21 20:31:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 20:31:42 -0500 |
commit | b87322568ed7f73a8583cdce707f68f07a0995dd (patch) | |
tree | 387ffc9ba2487bea8c6ab9eb7c40d03cd1e74dc6 /lib/compilers/swift.js | |
parent | b8815fbdb20261634919d976310c13e945249250 (diff) | |
parent | a47efe6d65f86024f46be5ef96139bb2f67dca73 (diff) | |
download | compiler-explorer-b87322568ed7f73a8583cdce707f68f07a0995dd.tar.gz compiler-explorer-b87322568ed7f73a8583cdce707f68f07a0995dd.zip |
Merge branch 'master' into llvm
Diffstat (limited to 'lib/compilers/swift.js')
-rw-r--r-- | lib/compilers/swift.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/compilers/swift.js b/lib/compilers/swift.js index ff43f76f2..71934d7e8 100644 --- a/lib/compilers/swift.js +++ b/lib/compilers/swift.js @@ -22,9 +22,17 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -const BaseCompiler = require('../base-compiler'); +const BaseCompiler = require('../base-compiler'), + argumentParsers = require("./argument-parsers"); class SwiftCompiler extends BaseCompiler { + getArgumentParser() { + return argumentParsers.Clang; + } + + isCfgCompiler(/*compilerVersion*/) { + return true; + } } module.exports = SwiftCompiler; |