repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
In the latest episode of "Deserializing bugs caused by accessors" the series reached...
[clang.git]
/
test
/
Rewriter
/
va-method.m
blob
366552fd56ab2a9c523bd53f8b17778caf4929f2
1
// RUN: %clang_cc1 -rewrite-objc %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