This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by Szelethus on Sep 8 2019, 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.Sep 8 2019, 3:05 PM
Szelethus marked an inline comment as done.Sep 8 2019, 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.Sep 9 2019, 6:39 PM
NoQ added inline comments.
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
84
This revision is now accepted and ready to land.Sep 9 2019, 6:39 PM
This revision was automatically updated to reflect the committed changes.