On Fri, May 5, 2017 at 1:15 PM, Nico Weber via cfe-commits <cfe-commits@lists.llvm.org> wrote: > Author: nico > Date: Fri May 5 12:15:08 2017 > New Revision: 302258 > > URL: http://llvm.org/viewvc/llvm-project?rev=302258&view=rev > Log: > ANSIfy. No behavior change.
Thank you for handling these! ~Aaron > > Modified: > cfe/trunk/lib/CodeGen/CGBuiltin.cpp > cfe/trunk/lib/Sema/SemaDeclAttr.cpp > cfe/trunk/lib/Sema/SemaStmt.cpp > > Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=302258&r1=302257&r2=302258&view=diff > ============================================================================== > --- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original) > +++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Fri May 5 12:15:08 2017 > @@ -2751,7 +2751,7 @@ RValue CodeGenFunction::EmitBuiltinExpr( > > // 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. > > Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=302258&r1=302257&r2=302258&view=diff > ============================================================================== > --- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original) > +++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Fri May 5 12:15:08 2017 > @@ -5083,7 +5083,7 @@ static void handleUuidAttr(Sema &S, Decl > // 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); > > Modified: cfe/trunk/lib/Sema/SemaStmt.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmt.cpp?rev=302258&r1=302257&r2=302258&view=diff > ============================================================================== > --- cfe/trunk/lib/Sema/SemaStmt.cpp (original) > +++ cfe/trunk/lib/Sema/SemaStmt.cpp Fri May 5 12:15:08 2017 > @@ -2828,7 +2828,7 @@ Sema::PerformMoveOrCopyInitialization(co > > // [...] 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 || > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits