]> granicus.if.org Git - clang/commitdiff
remove curly quotes, patch by Dimitry Andric!
authorChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 17:52:29 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 17:52:29 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113156 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td
test/CXX/temp/temp.spec/temp.explicit/p12.cpp
test/SemaCXX/init-priority-attr.cpp

index a25b2a341fc5d2181e8efb9509f2f593e943d4e3..82f059b865b084426b4f997f2a792c6a259f131d 100644 (file)
@@ -848,7 +848,7 @@ def err_attribute_argument_outof_range : Error<
   "init_priority attribute requires integer constant between "
   "101 and 65535 inclusive">;
 def err_init_priority_object_attr : Error<
-  "can only use ‘init_priority’ attribute on file-scope definitions "
+  "can only use 'init_priority' attribute on file-scope definitions "
   "of objects of class type">;
 def err_attribute_argument_n_not_int : Error<
   "'%0' attribute requires parameter %1 to be an integer constant">;
index 912b8e17bb98b05b7b763a7aa8b0607468d116b4..c7564868f8addf1677502f073eeeba33753e8bb2 100644 (file)
@@ -2,5 +2,5 @@
 
 char* p = 0; 
 template<class T> T g(T x = &p) { return x; }
-template int g<int>(int);      // OK even though &p isnt an int.
+template int g<int>(int);      // OK even though &p isn't an int.
 
index 6ea263d1e59da24fd6a8f1cb80c0fad36a006b82..7605ee625ed4f21d7a8bd2722bb55e3cd1d65ddd 100644 (file)
@@ -26,11 +26,11 @@ Two coo[2]  __attribute__((init_priority(3)));      // expected-error {{init_priority
 Two koo[4]  __attribute__((init_priority(1.13))); // expected-error {{'init_priority' attribute requires integer constant}}
 
 
-Two func()  __attribute__((init_priority(1001))); // expected-error {{can only use ‘init_priority’ attribute on file-scope definitions of objects of class type}}
+Two func()  __attribute__((init_priority(1001))); // expected-error {{can only use 'init_priority' attribute on file-scope definitions of objects of class type}}
 
-int i  __attribute__((init_priority(1001))); // expected-error {{can only use ‘init_priority’ attribute on file-scope definitions of objects of class type}}
+int i  __attribute__((init_priority(1001))); // expected-error {{can only use 'init_priority' attribute on file-scope definitions of objects of class type}}
 
 int main() {
-       Two foo __attribute__((init_priority(1001)));   // expected-error {{can only use ‘init_priority’ attribute on file-scope definitions of objects of class type}}
+       Two foo __attribute__((init_priority(1001)));   // expected-error {{can only use 'init_priority' attribute on file-scope definitions of objects of class type}}
 }