https://llvm.org/bugs/show_bug.cgi?id=31314
Bug ID: 31314 Summary: crash when rewrite-objc meets self-increase operator(++) Product: clang Version: unspecified Hardware: PC OS: MacOS X Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: imoldman....@gmail.com CC: llvm-bugs@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; @end @implementation A @end int main() { A *a = [A new]; ++a.i; return 0; } $ clang --version Apple LLVM version 8.0.0 (clang-800.0.38) Target: x86_64-apple-darwin15.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs