icinga2/lib/config
Johannes Schmidt 8785628b65 Silence -Wdangling-reference warning in ApplyRule
This is a false-positive because the functions in question return
a reference to memory in a static variable that remains fixed after
program start.

This commit adds a macro for the `[[gnu::no_dangling]]` attribute to
ignore the warning for the tagged functions and uses that macro on
both functions returning references to the static variable.
2026-06-25 16:04:55 +02:00
..
activationcontext.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
activationcontext.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
applyrule-targeted.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
applyrule.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
applyrule.hpp Silence -Wdangling-reference warning in ApplyRule 2026-06-25 16:04:55 +02:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
config_lexer.ll Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
config_parser.yy Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configcompiler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configcompiler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configcompilercontext.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configcompilercontext.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configfragment.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configitem.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configitem.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configitembuilder.cpp Warn if object name contains ctrl characters 2026-03-26 15:01:15 +01:00
configitembuilder.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
expression.cpp Add warnings to deprecated features indicating removal in v2.18 2026-03-27 14:20:55 +01:00
expression.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
i2-config.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
objectrule.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
objectrule.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
vmops.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00