As per the discussion on this thread i have started working on an std::variant checker.
https://discourse.llvm.org/t/analyzer-new-checker-for-std-any-as-a-bsc-thesis/65613/2
This patch is mostly a conversation starter. @Szelethus will supervise me on this project, and we shall discuss our next steps here.
Maybe alpha.cplusplus?