I got some complaints from a tagging tool about stray UTF-8 characters
in the clang sources; this patch removes two instances of them.
The one in tools/clang/test/CodeGen/darwin-string-literals.c looks like
it is supposed to be there, but I'm not sure. :)
Index: tools/clang/test/CXX/temp/temp.spec/temp.explicit/p12.cpp
===================================================================
--- tools/clang/test/CXX/temp/temp.spec/temp.explicit/p12.cpp (revision
113070)
+++ tools/clang/test/CXX/temp/temp.spec/temp.explicit/p12.cpp (working copy)
@@ -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 isnât an int.
+template int g<int>(int); // OK even though &p isn't an int.
Index: tools/clang/test/SemaCXX/init-priority-attr.cpp
===================================================================
--- tools/clang/test/SemaCXX/init-priority-attr.cpp (revision 113070)
+++ tools/clang/test/SemaCXX/init-priority-attr.cpp (working copy)
@@ -26,11 +26,11 @@ Two coo[2] __attribute__((init_priority(3))); //
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}}
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits