[llvm-bugs] [Bug 31314] New: crash when rewrite-objc meets self-increase operator(++)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 8 02:02:10 PST 2016


            Bug ID: 31314
           Summary: crash when rewrite-objc meets self-increase
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: imoldman.com at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

'clang -rewrite-objc test.m' will be crashed when test.m is

#import <Foundation/Foundation.h>

@interface A : NSObject
@property (nonatomic) int i;

@implementation A

int main() {
  A *a = [A new];
  return 0;

$ clang --version
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.5.0
Thread model: posix

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161208/3293579e/attachment.html>

More information about the llvm-bugs mailing list