From: Csaba Dabis Date: Thu, 22 Aug 2019 01:41:06 +0000 (+0000) Subject: [analyzer] CastValueChecker: Try to fix the buildbots X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b55173813f2a3aa7e9145e5ce6b9510e0823de15;p=clang [analyzer] CastValueChecker: Try to fix the buildbots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369609 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp b/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp index e7472ab156..1580f7f31c 100644 --- a/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp +++ b/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);