[analyzer][NFC] Add `override` keyword missing from D86027
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Mon, 31 Aug 2020 21:57:22 +0000 (17:57 -0400)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Mon, 31 Aug 2020 21:57:22 +0000 (17:57 -0400)
Speculative fix for `-Werror,-Wsuggest-override` build failures on
the ppc64le-lld-multistage-test bot.

clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp

index f1ca28b..1ca5359 100644 (file)
@@ -54,7 +54,7 @@ public:
                      ArrayRef<const MemRegion *> 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: