summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-05-05 17:15:08 +0000
committerNico Weber <nicolasweber@gmx.de>2017-05-05 17:15:08 +0000
commit0a234047eb3ffd352ce7e14b86c0dedd0ec0b0fb (patch)
treed3be678d2845f71ef5a161ec22aee485edc7160d
parent60afb4386d19f17d11b183868eb32da06e7fa3eb (diff)
downloadbcm5719-llvm-0a234047eb3ffd352ce7e14b86c0dedd0ec0b0fb.tar.gz
bcm5719-llvm-0a234047eb3ffd352ce7e14b86c0dedd0ec0b0fb.zip
ANSIfy. No behavior change.
llvm-svn: 302258
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp2
-rw-r--r--clang/lib/Sema/SemaStmt.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 6ea0a325a42..49a0949d1e0 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -2751,7 +2751,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
// Push a clang.arc.use cleanup for each object in RetainableOperands. The
// cleanup will cause the use to appear after the final log call, keeping
- // the object valid while it’s held in the log buffer. Note that if there’s
+ // the object valid while it's held in the log buffer. Note that if there’s
// a release cleanup on the object, it will already be active; since
// cleanups are emitted in reverse order, the use will occur before the
// object is released.
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index fa831f8ddf7..97d273f6ddb 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -5083,7 +5083,7 @@ static void handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) {
// the only thing in the [] list, the [] too), and add an insertion of
// __declspec(uuid(...)). But sadly, neither the SourceLocs of the commas
// separating attributes nor of the [ and the ] are in the AST.
- // Cf "SourceLocations of attribute list delimiters – [[ ... , ... ]] etc"
+ // Cf "SourceLocations of attribute list delimiters - [[ ... , ... ]] etc"
// on cfe-dev.
if (Attr.isMicrosoftAttribute()) // Check for [uuid(...)] spelling.
S.Diag(Attr.getLoc(), diag::warn_atl_uuid_deprecated);
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp
index 9ffc23b5adb..5d7eada2871 100644
--- a/clang/lib/Sema/SemaStmt.cpp
+++ b/clang/lib/Sema/SemaStmt.cpp
@@ -2828,7 +2828,7 @@ Sema::PerformMoveOrCopyInitialization(const InitializedEntity &Entity,
// [...] If the first overload resolution fails or was not performed, or
// if the type of the first parameter of the selected constructor is not
- // an rvalue reference to the object’s type (possibly cv-qualified),
+ // an rvalue reference to the object's type (possibly cv-qualified),
// overload resolution is performed again, considering the object as an
// lvalue.
if (!RRefType ||
OpenPOWER on IntegriCloud