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
537
537
// / a later bug report created by ErrnoChecker.
538
538
// / Empty return value means that 'errno' related bug may not happen from
539
539
// / the current analyzed function.
540
- virtual const std::string describe (CheckerContext &C) const { return " " ; }
540
+ virtual std::string describe (CheckerContext &C) const { return " " ; }
541
541
542
542
virtual ~ErrnoConstraintBase () {}
543
543
@@ -604,7 +604,7 @@ class StdLibraryFunctionsChecker
604
604
return errno_modeling::setErrnoForStdSuccess (State, C);
605
605
}
606
606
607
- const std::string describe (CheckerContext &C) const override {
607
+ std::string describe (CheckerContext &C) const override {
608
608
return " 'errno' becomes undefined after the call" ;
609
609
}
610
610
};
@@ -622,7 +622,7 @@ class StdLibraryFunctionsChecker
622
622
Call.getCFGElementRef ());
623
623
}
624
624
625
- const std::string describe (CheckerContext &C) const override {
625
+ std::string describe (CheckerContext &C) const override {
626
626
return " reading 'errno' is required to find out if the call has failed" ;
627
627
}
628
628
};
You can’t perform that action at this time.
0 commit comments