[PATCH] D142354: [analyzer] Create a stub for an std::variant checker
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 14:32:30 PST 2023
NoQ added a comment.
Interesting, what specific goals do you have here? Are you planning to find specific bugs (eg. force-unwrap to a wrong type) or just to model the semantics? In the latter case, have you explored the possibility of force-inlining the class instead, like I suggested in the thread? Have you found a reasonable amount of code that uses `std::variant`, to test your checker on?
================
Comment at: clang/include/clang/StaticAnalyzer/Checkers/Checkers.td:312
+
} // end "alpha.core"
----------------
Maybe `alpha.cplusplus`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142354/new/
https://reviews.llvm.org/D142354
More information about the cfe-commits
mailing list