xref: /llvm-project/flang/include/flang/Lower/BuiltinModules.h (revision 72276bdaff931910f62a84336b3e864ab48bac06)
1 //===-- BuiltinModules.h --------------------------------------*- C++ -*-===//
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 /// Define information about builtin derived types from flang/module/xxx.f90
14 /// files so that these types can be manipulated by lowering.
15 ///
16 //===----------------------------------------------------------------------===//
17 
18 #ifndef FORTRAN_LOWER_BUILTINMODULES_H
19 #define FORTRAN_LOWER_BUILTINMODULES_H
20 
21 namespace Fortran::lower::builtin {
22 /// Address field name of __builtin_c_f_pointer and __builtin_c_ptr types.
23 constexpr char cptrFieldName[] = "__address";
24 } // namespace Fortran::lower::builtin
25 
26 #endif // FORTRAN_LOWER_BUILTINMODULES_H
27