================
@@ -112,8 +145,20 @@ enum class AArch64ABIKind {
   AAPCSSoft,
 };
 
+/// Target / language flags that affect AArch64 ABI classification.
+/// Callers (e.g. Clang) resolve Triple and LangOptions into these flags
+/// rather than passing a Triple into the ABI library.
+struct AArch64ABIOptions {
+  AArch64ABIKind Kind = AArch64ABIKind::AAPCS;
+  bool IsILP32 = false;
+  bool IsMicrosoftCXXABI = false;
+
+  AArch64ABIOptions() = default;
+  AArch64ABIOptions(AArch64ABIKind Kind) : Kind(Kind) {}
----------------
madhur13490 wrote:

prefer explicit?

https://github.com/llvm/llvm-project/pull/218799
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to