]> granicus.if.org Git - clang/commitdiff
Add missing override specifier [NFC]
authorAaron Puchert <aaron.puchert@sap.com>
Fri, 15 Mar 2019 02:30:07 +0000 (02:30 +0000)
committerAaron Puchert <aaron.puchert@sap.com>
Fri, 15 Mar 2019 02:30:07 +0000 (02:30 +0000)
This should fix a -Winconsistent-missing-override warning that is only
visible when Z3 is enabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356228 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp

index 73474cc9cd8c247d8028634645190ab756ebecf2..59eeb07298f0bf1998f0ebf520130149865169de 100644 (file)
@@ -102,7 +102,7 @@ public:
       Z3_dec_ref(Context.Context, reinterpret_cast<Z3_ast>(Sort));
   }
 
-  void Profile(llvm::FoldingSetNodeID &ID) const {
+  void Profile(llvm::FoldingSetNodeID &ID) const override {
     ID.AddInteger(
         Z3_get_ast_id(Context.Context, reinterpret_cast<Z3_ast>(Sort)));
   }