[analyzer] CastValueChecker: Try to fix the buildbots
authorCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 22 Aug 2019 01:41:06 +0000 (01:41 +0000)
committerCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 22 Aug 2019 01:41:06 +0000 (01:41 +0000)
llvm-svn: 369609

clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp

index e7472ab..1580f7f 100644 (file)
@@ -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);