From 4fc351312155da191a72e051654e02d011fc2b9a Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Fri, 15 Mar 2019 02:30:07 +0000 Subject: [PATCH] Add missing override specifier [NFC] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp b/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp index 73474cc9cd..59eeb07298 100644 --- a/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp +++ b/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp @@ -102,7 +102,7 @@ public: Z3_dec_ref(Context.Context, reinterpret_cast(Sort)); } - void Profile(llvm::FoldingSetNodeID &ID) const { + void Profile(llvm::FoldingSetNodeID &ID) const override { ID.AddInteger( Z3_get_ast_id(Context.Context, reinterpret_cast(Sort))); } -- 2.40.0