summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
diff options
context:
space:
mode:
authorCsaba Dabis <dabis.csaba98@gmail.com>2019-08-22 01:41:06 +0000
committerCsaba Dabis <dabis.csaba98@gmail.com>2019-08-22 01:41:06 +0000
commit22dc44ff896a34a94c7ed6d3bf7b577b98e34fbd (patch)
tree47143ba7139b5e7a729da4b1ee614299a888f3b3 /clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
parent6e8b79e3080bde71948e0259fed16247d87c071e (diff)
downloadbcm5719-llvm-22dc44ff896a34a94c7ed6d3bf7b577b98e34fbd.tar.gz
bcm5719-llvm-22dc44ff896a34a94c7ed6d3bf7b577b98e34fbd.zip
[analyzer] CastValueChecker: Try to fix the buildbots
llvm-svn: 369609
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