Ruby: include/ruby/internal/compiler_is.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

compiler_is.h
Go to the documentation of this file.
1#ifndef RBIMPL_COMPILER_IS_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_COMPILER_IS_H
30#define RBIMPL_COMPILER_IS(cc) RBIMPL_COMPILER_IS_ ## cc
31
32#include "ruby/internal/compiler_is/apple.h"
33#include "ruby/internal/compiler_is/clang.h"
34#include "ruby/internal/compiler_is/gcc.h"
35#include "ruby/internal/compiler_is/intel.h"
36#include "ruby/internal/compiler_is/msvc.h"
37#include "ruby/internal/compiler_is/sunpro.h"
38/* :TODO: Other possible compilers to support:
39 *
40 * - IBM XL: recent XL are clang-backended so some tweaks like we do for
41 * Apple's might be needed.
42 *
43 * - ARM's armclang: ditto, it can be clang-backended. */
44
45#endif /* RBIMPL_COMPILER_IS_H */