xref: /llvm-project/flang/lib/Common/LangOptions.cpp (revision 58e8683a31186a281d83499798aa5f867b4c5894)
1 //===------ LangOptions.cpp -----------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #include "flang/Common/LangOptions.h"
14 #include <string.h>
15 
16 namespace Fortran::common {
17 
18 LangOptions::LangOptions() {
19 #define LANGOPT(Name, Bits, Default) Name = Default;
20 #define ENUM_LANGOPT(Name, Type, Bits, Default) set##Name(Default);
21 #include "flang/Common/LangOptions.def"
22 }
23 
24 } // end namespace Fortran::common
25