r369609 - [analyzer] CastValueChecker: Try to fix the buildbots

Csaba Dabis via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 18:41:06 PDT 2019


Author: charusso
Date: Wed Aug 21 18:41:06 2019
New Revision: 369609

URL: http://llvm.org/viewvc/llvm-project?rev=369609&view=rev
Log:
[analyzer] CastValueChecker: Try to fix the buildbots

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp?rev=369609&r1=369608&r2=369609&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp Wed Aug 21 18:41:06 2019
@@ -110,7 +110,7 @@ static const NoteTag *getNoteTag(Checker
   Object = Object->IgnoreParenImpCasts();
 
   return C.getNoteTag(
-      [=] {
+      [=]() -> std::string {
         SmallString<128> Msg;
         llvm::raw_svector_ostream Out(Msg);
 




More information about the cfe-commits mailing list