aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2022-10-17 15:40:39 +0200
committerJean Perier <jperier@nvidia.com>2022-10-17 15:42:42 +0200
commitc4331358fb9de83289b2638a77e8e08e41f56860 (patch)
treeb6b4581abad1b055a381380fcbf3698a2da57df4 /clang/lib/Basic/Module.cpp
parent0aa9a7f8d93707c7a5f219ceedc8e191235bc84e (diff)
downloadllvm-c4331358fb9de83289b2638a77e8e08e41f56860.zip
llvm-c4331358fb9de83289b2638a77e8e08e41f56860.tar.gz
llvm-c4331358fb9de83289b2638a77e8e08e41f56860.tar.bz2
[flang] Add an enum attribute to carry Fortran attributes
Currently, Fortran attributes are mostly represented via the presence of named attribute with special names (fir.target, fir.contiguous, fir.optional...). Create an enum so that these attributes can be more easily and safely manipulated in FIR. This patch does not add usages for it yet. It is planned to use in it in the future HLFIR and fir.declare operations. This is added to FIR and not HLFIR because it is intended to be used on fir.declare that will be part of FIR, and seems also usefull for FIR operations. Differential Revision: https://reviews.llvm.org/D135961
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions