[PATCH] D17866: Swift Calling Convention: add swiftself attribute

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 09:51:28 PDT 2016


joker.eph added inline comments.

================
Comment at: include/llvm/Target/TargetCallingConv.h:87
@@ +86,3 @@
+    bool isSwiftSelf() const { return Flags & SwiftSelf; }
+    void setSwiftSelf() { Flags = One << SwiftSelfOffs; }
+
----------------
Typo here: `Flags |= ...`


http://reviews.llvm.org/D17866





More information about the llvm-commits mailing list