//===--- CodeGenOptions.def - Code generation option database ----- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines the code generation options. Users of this file // must define the CODEGENOPT macro to make use of this information. // Optionally, the user may also define ENUM_CODEGENOPT (for options // that have enumeration type and VALUE_CODEGENOPT is a code // generation option that describes a value rather than a flag. // // AFFECTING_VALUE_CODEGENOPT is used for code generation options that can // affect the AST. // //===----------------------------------------------------------------------===// #ifndef CODEGENOPT # error Define the CODEGENOPT macro to handle language options #endif #ifndef VALUE_CODEGENOPT # define VALUE_CODEGENOPT(Name, Bits, Default) \ CODEGENOPT(Name, Bits, Default) #endif #ifndef ENUM_CODEGENOPT # define ENUM_CODEGENOPT(Name, Type, Bits, Default) \ CODEGENOPT(Name, Bits, Default) #endif #ifndef AFFECTING_VALUE_CODEGENOPT # define AFFECTING_VALUE_CODEGENOPT(Name, Bits, Default) \ VALUE_CODEGENOPT(Name, Bits, Default) #endif CODEGENOPT( … }