From d563d7a7313cf47dcb24c6370a035bd803965b4e Mon Sep 17 00:00:00 2001 From: Hubert Tong Date: Mon, 31 Aug 2020 17:57:22 -0400 Subject: [PATCH] [analyzer][NFC] Add `override` keyword missing from D86027 Speculative fix for `-Werror,-Wsuggest-override` build failures on the ppc64le-lld-multistage-test bot. --- clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp b/clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp index f1ca28b..1ca5359 100644 --- a/clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp @@ -54,7 +54,7 @@ public: ArrayRef Regions, const LocationContext *LCtx, const CallEvent *Call) const; void printState(raw_ostream &Out, ProgramStateRef State, const char *NL, - const char *Sep) const; + const char *Sep) const override; void checkLiveSymbols(ProgramStateRef State, SymbolReaper &SR) const; private: -- 2.7.4