From: Justin Lebar Date: Thu, 6 Oct 2016 19:47:56 +0000 (+0000) Subject: [Sema] Replace smart quote with "'" in comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ffd5eaec1e27d72ac905c92a22318d01500973a;p=clang [Sema] Replace smart quote with "'" in comment. Looks like the smart quote was copy/pasted from the C++ standard. The smart quote was not encoded as valid UTF-8 (?), even though vim was detecting the file as UTF-8. This broke the clang-format Python script, which tried to read the file using the same encoding as vim detected. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283487 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index bf2ee03a0d..e47f35528f 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -13687,7 +13687,7 @@ static bool captureInLambda(LambdaScopeInfo *LSI, // C++ [expr.prim.lambda]p5: // The closure type for a lambda-expression has a public inline // function call operator [...]. This function call operator is - // declared const (9.3.1) if and only if the lambda-expression’s + // declared const (9.3.1) if and only if the lambda-expression's // parameter-declaration-clause is not followed by mutable. DeclRefType = CaptureType.getNonReferenceType(); if (!LSI->Mutable && !CaptureType->isReferenceType())