================
@@ -753,6 +735,11 @@ class LangOptions : public LangOptionsBase {
return getSignReturnAddressScope() == SignReturnAddressScopeKind::All;
}
+ bool hasSignReturnAddressHardening() const {
+ return getSignReturnAddressHardening() !=
+ SignReturnAddressHardeningKind::None;
+ }
----------------
atrosinenko wrote:
[nit] This method is currently unused. (Just mentioning this in case it was
accidentally kept in the final version after removing all its users - feel free
to ignore)
https://github.com/llvm/llvm-project/pull/176171
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits