File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clang/lib/StaticAnalyzer/Checkers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ class StdLibraryFunctionsChecker
537537 // / a later bug report created by ErrnoChecker.
538538 // / Empty return value means that 'errno' related bug may not happen from
539539 // / the current analyzed function.
540- virtual const std::string describe (CheckerContext &C) const { return " " ; }
540+ virtual std::string describe (CheckerContext &C) const { return " " ; }
541541
542542 virtual ~ErrnoConstraintBase () {}
543543
@@ -604,7 +604,7 @@ class StdLibraryFunctionsChecker
604604 return errno_modeling::setErrnoForStdSuccess (State, C);
605605 }
606606
607- const std::string describe (CheckerContext &C) const override {
607+ std::string describe (CheckerContext &C) const override {
608608 return " 'errno' becomes undefined after the call" ;
609609 }
610610 };
@@ -622,7 +622,7 @@ class StdLibraryFunctionsChecker
622622 Call.getCFGElementRef ());
623623 }
624624
625- const std::string describe (CheckerContext &C) const override {
625+ std::string describe (CheckerContext &C) const override {
626626 return " reading 'errno' is required to find out if the call has failed" ;
627627 }
628628 };
You can’t perform that action at this time.
0 commit comments