This patch adds functionality and a test for importing Objective-C classes and their methods. It also adds a flag to clang-import-test to set the language used for parsing. This takes the same argument format as the -x option to the driver. Differential Revision: https://reviews.llvm.org/D35274 llvm-svn: 309014
6 lines
121 B
Objective-C
6 lines
121 B
Objective-C
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
|
|
void expr() {
|
|
C *c;
|
|
int i = [c m];
|
|
}
|