summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
index e7472ab156b..1580f7f31ce 100644
--- a/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
@@ -110,7 +110,7 @@ static const NoteTag *getNoteTag(CheckerContext &C,
Object = Object->IgnoreParenImpCasts();
return C.getNoteTag(
- [=] {
+ [=]() -> std::string {
SmallString<128> Msg;
llvm::raw_svector_ostream Out(Msg);
OpenPOWER on IntegriCloud