diff options
Diffstat (limited to 'contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h')
-rw-r--r-- | contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h b/contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h index f9c2fd9..23db43e 100644 --- a/contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h +++ b/contrib/llvm/tools/clang/include/clang/CodeGen/SwiftCallingConv.h @@ -17,7 +17,6 @@ #include "clang/AST/CanonicalType.h" #include "clang/AST/CharUnits.h" #include "clang/AST/Type.h" -#include "llvm/ADT/FoldingSet.h" #include "llvm/Support/TrailingObjects.h" #include <cassert> @@ -91,7 +90,7 @@ public: bool shouldPassIndirectly(bool asReturnValue) const; using EnumerationCallback = - llvm::function_ref<void(CharUnits offset, llvm::Type *type)>; + llvm::function_ref<void(CharUnits offset, CharUnits end, llvm::Type *type)>; /// Enumerate the expanded components of this type. /// @@ -161,6 +160,9 @@ ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type); /// private interface for Clang. void computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI); +/// Is swifterror lowered to a register by the target ABI. +bool isSwiftErrorLoweredInRegister(CodeGenModule &CGM); + } // end namespace swiftcall } // end namespace CodeGen } // end namespace clang |