From b55173813f2a3aa7e9145e5ce6b9510e0823de15 Mon Sep 17 00:00:00 2001 From: Csaba Dabis Date: Thu, 22 Aug 2019 01:41:06 +0000 Subject: [PATCH] [analyzer] CastValueChecker: Try to fix the buildbots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369609 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Checkers/CastValueChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1