Clang-tidy to silence certain clang-diagnostic-error errors

clang++ does not have as complete c++20 support as g++ does these days, however, clang-tidy(which depends on clang++) is widely used in all c++ projects, and it reports quite some clang-diagnostic-errors due to the limitation of clang++.

can we assign error numbers to those offending clang-diagnostic-errors and let user to silence them when they know it’s a limit of clang++(instead of g++).

for example, clang-tidy-12 will report: error: sorry, non-type template argument of type 'double' is not yet supported [clang-diagnostic-error] because clang+±12 does not support it, but g+±11 happily does, can I have something like: error: sorry, non-type template argument of type 'double' is not yet supported [clang-diagnostic-error E805] and I can add E805 to clang-tidy’s disable-my-error-check list?