diff options
author | Tom Eccles <tom.eccles@arm.com> | 2023-08-23 13:24:18 +0000 |
---|---|---|
committer | Tom Eccles <tom.eccles@arm.com> | 2023-08-29 09:48:28 +0000 |
commit | 125abbdc97671d8300cfc1ebcc010d8d4248974b (patch) | |
tree | 93064a39746ca42e3a2f184a5cc0172d9db03bce /clang/lib/CodeGen/CodeGenModule.h | |
parent | c555308d4fed150636622ccf3798dbf4a440fbff (diff) | |
download | llvm-125abbdc97671d8300cfc1ebcc010d8d4248974b.zip llvm-125abbdc97671d8300cfc1ebcc010d8d4248974b.tar.gz llvm-125abbdc97671d8300cfc1ebcc010d8d4248974b.tar.bz2 |
[flang][driver] Ensure negative flags have the same visibility as positive
https://reviews.llvm.org/D157151 and https://reviews.llvm.org/D157837
added visibility flags to flang options, hiding options which are
supported only in Clang and not in Flang.
After this change, some negative flags e.g. `-fno-reciprocal-math` no
longer work with flang. These flags are supported in flang (as can be
seen from the support for the positive flags).
I also opted to make sure the clang visibility is the same on these
flags, although I did not look at changing the visibility of non-flang
flags.
Differential Revision: https://reviews.llvm.org/D158612
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions