Page MenuHomePhabricator

[analyzer][NFC] Refactor the checker registration unit test file
AcceptedPublic

Authored by Szelethus on Sun, Sep 8, 3:05 PM.

Details

Summary

Nothing exciting to see here! The new interface allows for more fine tuning (register but disable a checker, add custom checker registry functions, etc), that was basically the point.

Diff Detail

Event Timeline

Szelethus created this revision.Sun, Sep 8, 3:05 PM
Szelethus marked an inline comment as done.Sun, Sep 8, 3:15 PM
Szelethus added inline comments.
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
84

Well, according to clangd, this is how it's supposed to be done in LLVM.

NoQ accepted this revision.Mon, Sep 9, 6:39 PM
NoQ added inline comments.
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
84
This revision is now accepted and ready to land.Mon, Sep 9, 6:39 PM