[Lldb-commits] [PATCH] D11173: Compile and run objc tests in TestObjCBuiltinTypes.py as objc instead of c++.
Sean Callanan
scallanan at apple.com
Mon Jul 20 11:13:50 PDT 2015
spyffe added a comment.
This looks like it's actually testing the wrong thing… the point is that the expression parser is in ObjC++ mode at all times and we want to make sure that we aren't misinterpreting something that happens to have the name "id" from C++ as something that's an ObjC id.
I'm concerned about the implicit suggestion that we not be in ObjC++ mode at all times. Specifically, it should be possible to run [NSApplication sharedApplication] wherever I'm stopped in an app. I would only want to turn the ObjC parts completely off if there were no Objective-C at all in the program; is this something we're planning on checking?
BTW, the reverse (no C++ if you're not in C++ mode) is going to be a lot trickier because the expression parser uses reference types internally.
Repository:
rL LLVM
http://reviews.llvm.org/D11173
More information about the lldb-commits
mailing list