]> granicus.if.org Git - clang/commitdiff
Remove unicode quotes characters that somehow made it into a recent commit of mine.
authorTed Kremenek <kremenek@apple.com>
Fri, 16 Jul 2010 20:49:01 +0000 (20:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 16 Jul 2010 20:49:01 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108552 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td
test/Sema/format-strings-scanf.c

index fee5a56e4924a64b0e6b713f40c3fb67d3afd009..ef34fb8ef5a2d7b7f89d856a83eec3e024e85f0b 100644 (file)
@@ -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
index f5718868776ca8102787bc68685dc36e090f9fd6..5341ad5ee9b3c8aca0107694ab29cdef4b13fe80 100644 (file)
@@ -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}}
 }