forked from OSchip/llvm-project
Remove unicode quotes characters that somehow made it into a recent commit of mine.
llvm-svn: 108552
This commit is contained in:
parent
2abc0383ce
commit
0030be81f5
|
@ -2985,7 +2985,7 @@ def warn_printf_ignored_flag: Warning<
|
|||
"flag '%0' is ignored when flag '%1' is present">,
|
||||
InGroup<Format>;
|
||||
def warn_scanf_scanlist_incomplete : Warning<
|
||||
"no closing ‘]’ for ‘%%[’ in scanf format string">,
|
||||
"no closing ']' for '%%[' in scanf format string">,
|
||||
InGroup<Format>;
|
||||
|
||||
// CHECK: returning address/reference of stack memory
|
||||
|
|
|
@ -11,5 +11,5 @@ void test(const char *s, int *i) {
|
|||
scanf(s, i); // expected-warning{{ormat string is not a string literal}}
|
||||
scanf("%0d", i); // expected-warning{{zero field width in scanf format string is unused}}
|
||||
scanf("%00d", i); // expected-warning{{zero field width in scanf format string is unused}}
|
||||
scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ‘]’ for ‘%[’ in scanf format string}}
|
||||
scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ']' for '%[' in scanf format string}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue