summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-06 19:47:56 +0000
committerJustin Lebar <jlebar@google.com>2016-10-06 19:47:56 +0000
commit14299363af2cc46a1b52a01c9adf98dd4b4a7ad4 (patch)
treecba932973036394c20449cc67fcd64eeff2cb64a /clang/lib/Sema/SemaExpr.cpp
parente524e228463c337aff8bd9b0b9099aa4fc23f31d (diff)
downloadbcm5719-llvm-14299363af2cc46a1b52a01c9adf98dd4b4a7ad4.tar.gz
bcm5719-llvm-14299363af2cc46a1b52a01c9adf98dd4b4a7ad4.zip
[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
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index bf2ee03a0d5..e47f35528f6 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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())
OpenPOWER on IntegriCloud