office-gobmx/o3tl/CompilerTest_o3tl_unsafe_downcast.mk
Stephan Bergmann 8ec3116162 Introduce o3tl::unsafe_downcast for known-good dynamic_cast downcasts
(This helps rewrite code that silences Coverity unchecked dynamic_cast warnings,
like 57b89ea1c2 "coverity#704563 Unchecked dynamic
cast", in a way that is cleaner and potentially executes faster.)

Change-Id: I3319c0eeec2aa822f686feacd499a76c8c9b9499
Reviewed-on: https://gerrit.libreoffice.org/80458
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-10-08 18:07:57 +02:00

16 lines
550 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CompilerTest_CompilerTest,o3tl_unsafe_downcast))
$(eval $(call gb_CompilerTest_add_exception_objects,o3tl_unsafe_downcast, \
o3tl/qa/compile-unsafe_downcast \
))
# vim: set noet sw=4 ts=4: