forked from OSchip/llvm-project
[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:
parent
e524e22846
commit
14299363af
clang/lib/Sema
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue