AllowedTypes and template specialisation

I want to suppress this warning:

warning: the parameter 'data_timestamp' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param]
                                    std::optional<QDateTime> data_timestamp) {

and tried different variants:

performance-unnecessary-value-param.AllowedTypes: 'std::optional<QDateTime>'
performance-unnecessary-value-param.AllowedTypes: '::std::optional<QDateTime>'
performance-unnecessary-value-param.AllowedTypes: 'optional<QDateTime>$'

but none of them works. While for ordinary types all works fine.

So how should I match concrete template specialisation std::optional<QDateTime> in clang-tidy config?

Check does not match full name with template, but just base class, so it get here only “std::optional”, similar thing is with other checks that use same matcher.

As result I reported bug against clang-tidy.