]> granicus.if.org Git - clang/commitdiff
ANSIfy. No behavior change.
authorNico Weber <nicolasweber@gmx.de>
Fri, 5 May 2017 17:15:08 +0000 (17:15 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 5 May 2017 17:15:08 +0000 (17:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302258 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaStmt.cpp

index 6ea0a325a42967842ec3fda69f5dc7f2bcf9620b..49a0949d1e0e346597aa48aa27c9d8bcbde8f1d7 100644 (file)
@@ -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 its 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.
index fa831f8ddf7df3354eb8d199b85b98b420809607..97d273f6ddb67b81f97c10003d36c0d2b19ddd88 100644 (file)
@@ -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);
index 9ffc23b5adbab5972078e3849a76e23c6febb5da..5d7eada2871730e949836266e4435c435d638597 100644 (file)
@@ -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 objects 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 ||