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
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
va-method-1.m
blob
4959df31990f64f014b87539b1b18ef9cd949171
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
#include <stdarg.h>
5
6
@interface NSObject @end
7
@interface XX : NSObject @end
8
9
@implementation XX
10
- (void)encodeValuesOfObjCTypes:(const char *)types, ... {
11
va_list ap;
12
va_start(ap, types);
13
while (*types) ;
14
va_end(ap);
15
}
16
17
@end
18