summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-08-12 05:49:51 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-08-12 05:49:51 +0000
commit9f8a02d34e0e52e953a1f8fff45aba306784c4ed (patch)
treee3f7522ce276d4b0f8a6b5aa51bcb338589495c6
parent3ea7269b54aefd674424cd89be5f17ea8e18d222 (diff)
downloadbcm5719-llvm-9f8a02d34e0e52e953a1f8fff45aba306784c4ed.tar.gz
bcm5719-llvm-9f8a02d34e0e52e953a1f8fff45aba306784c4ed.zip
De-Unicode-ify.
llvm-svn: 137430
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp4
-rw-r--r--clang/test/Analysis/unused-ivars.m2
-rw-r--r--clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp2
-rw-r--r--clang/test/SemaCXX/ambig-user-defined-conversions.cpp2
-rw-r--r--clang/test/SemaCXX/expression-traits.cpp30
-rw-r--r--clang/test/SemaObjC/id-isa-ref.m2
6 files changed, 21 insertions, 21 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index 19398bb6d9a..20479199c43 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/lib/Lex/LiteralSupport.cpp
@@ -731,7 +731,7 @@ NumericLiteralParser::GetFloatValue(llvm::APFloat &Result) {
/// octal-escape-sequence
/// hexadecimal-escape-sequence
/// simple-escape-sequence:
-/// one of \’ \" \? \\ \a \b \f \n \r \t \v
+/// one of \' \" \? \\ \a \b \f \n \r \t \v
/// octal-escape-sequence:
/// \ octal-digit
/// \ octal-digit octal-digit
@@ -895,7 +895,7 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
/// octal-escape-sequence
/// hexadecimal-escape-sequence
/// simple-escape-sequence:
-/// one of \’ \" \? \\ \a \b \f \n \r \t \v
+/// one of \' \" \? \\ \a \b \f \n \r \t \v
/// octal-escape-sequence:
/// \ octal-digit
/// \ octal-digit octal-digit
diff --git a/clang/test/Analysis/unused-ivars.m b/clang/test/Analysis/unused-ivars.m
index 931c84a3745..2fa7074a4c9 100644
--- a/clang/test/Analysis/unused-ivars.m
+++ b/clang/test/Analysis/unused-ivars.m
@@ -97,7 +97,7 @@ int radar_7254495(RDar7254495 *a) {
@end
//===----------------------------------------------------------------------===//
// <rdar://problem/8481311> Unused bitfield ivars trigger cause weird
-// diagnostic: "Instance variable '' in class…"
+// diagnostic: "Instance variable '' in class..."
//===----------------------------------------------------------------------===//
@interface RDar8481311 {
diff --git a/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp b/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
index 4a0b3873797..cd7e669527b 100644
--- a/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
+++ b/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// C++0x [basic.lookup.classref]p3:
-// If the unqualified-id is ∼type-name, the type-name is looked up in the
+// If the unqualified-id is ~type-name, the type-name is looked up in the
// context of the entire postfix-expression. If the type T of the object
// expression is of a class type C, the type-name is also looked up in the
// scope of class C. At least one of the lookups shall find a name that
diff --git a/clang/test/SemaCXX/ambig-user-defined-conversions.cpp b/clang/test/SemaCXX/ambig-user-defined-conversions.cpp
index bf45e5d4d88..1a3c102f034 100644
--- a/clang/test/SemaCXX/ambig-user-defined-conversions.cpp
+++ b/clang/test/SemaCXX/ambig-user-defined-conversions.cpp
@@ -53,7 +53,7 @@ namespace test1 {
E b;
f1(b); // expected-error {{call to 'f1' is ambiguous}}
// ambiguous because b -> C via constructor and
- // b → A via constructor or conversion function.
+ // b -> A via constructor or conversion function.
}
}
diff --git a/clang/test/SemaCXX/expression-traits.cpp b/clang/test/SemaCXX/expression-traits.cpp
index 4555192280f..1cb990e09b8 100644
--- a/clang/test/SemaCXX/expression-traits.cpp
+++ b/clang/test/SemaCXX/expression-traits.cpp
@@ -136,7 +136,7 @@ void conv_ptr_1()
void expr_6()
{
- // expr/6: If an expression initially has the type “reference to T”
+ // expr/6: If an expression initially has the type "reference to T"
// (8.3.2, 8.5.3), ... the expression is an lvalue.
int x = 0;
int& referenceToInt = x;
@@ -310,9 +310,9 @@ void expr_sub_1(int* pointer)
{
// expr.sub/1 A postfix expression followed by an expression in
// square brackets is a postfix expression. One of the expressions
- // shall have the type “pointer to T” and the other shall have
+ // shall have the type "pointer to T" and the other shall have
// enumeration or integral type. The result is an lvalue of type
- // “T.”
+ // "T."
ASSERT_LVALUE(pointer[1]);
// The expression E1[E2] is identical (by definition) to *((E1)+(E2)).
@@ -348,32 +348,32 @@ void expr_ref_4()
{
// Applies to expressions of the form E1.E2
- // If E2 is declared to have type “reference to T”, then E1.E2 is
+ // If E2 is declared to have type "reference to T", then E1.E2 is
// an lvalue;.... Otherwise, one of the following rules applies.
ASSERT_LVALUE(Class().staticReferenceDataMember);
ASSERT_LVALUE(Class().referenceDataMember);
- // — If E2 is a static data member, and the type of E2 is T, then
+ // - If E2 is a static data member, and the type of E2 is T, then
// E1.E2 is an lvalue; ...
ASSERT_LVALUE(Class().staticNonreferenceDataMember);
ASSERT_LVALUE(Class().staticReferenceDataMember);
- // — If E2 is a non-static data member, ... If E1 is an lvalue,
+ // - If E2 is a non-static data member, ... If E1 is an lvalue,
// then E1.E2 is an lvalue...
Class lvalue;
ASSERT_LVALUE(lvalue.dataMember);
ASSERT_RVALUE(Class().dataMember);
- // — If E1.E2 refers to a static member function, ... then E1.E2
+ // - If E1.E2 refers to a static member function, ... then E1.E2
// is an lvalue
ASSERT_LVALUE(Class().StaticMemberFunction);
- // — Otherwise, if E1.E2 refers to a non-static member function,
+ // - Otherwise, if E1.E2 refers to a non-static member function,
// then E1.E2 is not an lvalue.
//ASSERT_RVALUE(Class().NonstaticMemberFunction);
- // — If E2 is a member enumerator, and the type of E2 is T, the
+ // - If E2 is a member enumerator, and the type of E2 is T, the
// expression E1.E2 is not an lvalue. The type of E1.E2 is T.
ASSERT_RVALUE(Class().Enumerator);
ASSERT_RVALUE(lvalue.Enumerator);
@@ -404,8 +404,8 @@ void expr_dynamic_cast_2()
void expr_dynamic_cast_5()
{
- // expr.dynamic.cast/5: If T is “reference to cv1 B” and v has type
- // “cv2 D” such that B is a base class of D, the result is an
+ // expr.dynamic.cast/5: If T is "reference to cv1 B" and v has type
+ // "cv2 D" such that B is a base class of D, the result is an
// lvalue for the unique B sub-object of the D object referred
// to by v.
typedef BaseClass B;
@@ -416,13 +416,13 @@ void expr_dynamic_cast_5()
// expr.dynamic.cast/8: The run-time check logically executes as follows:
//
-// — If, in the most derived object pointed (referred) to by v, v
+// - If, in the most derived object pointed (referred) to by v, v
// points (refers) to a public base class subobject of a T object, and
// if only one object of type T is derived from the sub-object pointed
// (referred) to by v, the result is a pointer (an lvalue referring)
// to that T object.
//
-// — Otherwise, if v points (refers) to a public base class sub-object
+// - Otherwise, if v points (refers) to a public base class sub-object
// of the most derived object, and the type of the most derived object
// has a base class, of type T, that is unambiguous and public, the
// result is a pointer (an lvalue referring) to the T sub-object of
@@ -525,7 +525,7 @@ void expr_cond(bool cond)
// conversions are performed on the second and third operands, and one
// of the following shall hold:
//
- // — The second or the third operand (but not both) is a
+ // - The second or the third operand (but not both) is a
// throw-expression (15.1); the result is of the type of the other and
// is an rvalue.
@@ -535,7 +535,7 @@ void expr_cond(bool cond)
ASSERT_RVALUE(cond ? throw 1 : classLvalue);
ASSERT_RVALUE(cond ? classLvalue : throw 1);
- // — Both the second and the third operands have type void; the result
+ // - Both the second and the third operands have type void; the result
// is of type void and is an rvalue. [Note: this includes the case
// where both operands are throw-expressions. ]
ASSERT_RVALUE(cond ? (void)1 : (void)0);
diff --git a/clang/test/SemaObjC/id-isa-ref.m b/clang/test/SemaObjC/id-isa-ref.m
index a75f2f33675..dfc0a5b9fda 100644
--- a/clang/test/SemaObjC/id-isa-ref.m
+++ b/clang/test/SemaObjC/id-isa-ref.m
@@ -22,7 +22,7 @@ static void func() {
Whatever *y;
// GCC allows this, with the following warning:
- // instance variable ‘isa’ is @protected; this will be a hard error in the future
+ // instance variable 'isa' is @protected; this will be a hard error in the future
//
// FIXME: see if we can avoid the 2 warnings that follow the error.
[(*y).isa self]; // expected-error {{instance variable 'isa' is protected}} \
OpenPOWER on IntegriCloud