repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Rewriter
/
va-method.m
blob
78d9367819b512fcc21f5e294586b3ed0d9afd24
1
// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
2
3
#include <stdarg.h>
4
5
@interface NSObject @end
6
@interface XX : NSObject @end
7
8
@implementation XX
9
- (void)encodeValuesOfObjCTypes:(const char *)types, ... {
10
va_list ap;
11
va_start(ap, types);
12
while (*types) ;
13
va_end(ap);
14
}
15
16
@end
17