Skip to content

Instantly share code, notes, and snippets.

View matthiasfranz's full-sized avatar

Matthias Franz matthiasfranz

  • YND Consult GmbH
  • Berlin, Germany
View GitHub Profile
diff --git a/lib/Target/AArch64/AArch64ISelLowering.h b/lib/Target/AArch64/AArch64ISelLowering.h
index d5154fb..49fca3f 100644
--- a/lib/Target/AArch64/AArch64ISelLowering.h
+++ b/lib/Target/AArch64/AArch64ISelLowering.h
@@ -619,8 +619,11 @@ private:
SelectionDAG &DAG) const override;
unsigned getInlineAsmMemConstraint(StringRef ConstraintCode) const override {
- if (ConstraintCode == "Q")
+ if (ConstraintCode == "Q") {
diff --git a/Sources/Build/Triple.swift b/Sources/Build/Triple.swift
index 1ce1556..3e0b0f0 100644
--- a/Sources/Build/Triple.swift
+++ b/Sources/Build/Triple.swift
@@ -34,6 +34,7 @@ public struct Triple {
case x86_64
case armv7
case s390x
+ case aarch64
}
public static let macOS = try! Triple(“x86_64-apple-macosx10.10”)
public static let linux = try! Triple(“x64_64-unknown-linux”)
public static let android = try! Triple(“armv7-unknown-linux-androideabi”)
cannot convert value of type ‘CVaListPointer’ to expected argument type ‘va_list’ (aka ‘__va_list’)