[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.

llvm-svn: 283487
This commit is contained in:
Justin Lebar 2016-10-06 19:47:56 +00:00
parent e524e22846
commit 14299363af
1 changed files with 1 additions and 1 deletions

View File

@ -13687,7 +13687,7 @@ static bool captureInLambda(LambdaScopeInfo *LSI,
// C++ [expr.prim.lambda]p5: // C++ [expr.prim.lambda]p5:
// The closure type for a lambda-expression has a public inline // The closure type for a lambda-expression has a public inline
// function call operator [...]. This function call operator is // function call operator [...]. This function call operator is
// declared const (9.3.1) if and only if the lambda-expressions // declared const (9.3.1) if and only if the lambda-expression's
// parameter-declaration-clause is not followed by mutable. // parameter-declaration-clause is not followed by mutable.
DeclRefType = CaptureType.getNonReferenceType(); DeclRefType = CaptureType.getNonReferenceType();
if (!LSI->Mutable && !CaptureType->isReferenceType()) if (!LSI->Mutable && !CaptureType->isReferenceType())