This is an archive of the discontinued LLVM Phabricator instance.

[Analyzer][StreamChecker] Updated initialization of BugType's.
ClosedPublic

Authored by balazske on May 28 2020, 7:54 AM.

Details

Summary

BugType objects are initialized in-class instead of by lazy initialization.
FuchsiaHandleChecker does this already.

Diff Detail

Event Timeline

balazske created this revision.May 28 2020, 7:54 AM

Why is BuiltinBug used instead of BugType? The differentiation between these classes looks not obvious. There is even a non-virtual getDescription function in both classes and a confusion with meaning of "name" and "description".

This revision is now accepted and ready to land.Jun 4 2020, 3:20 AM
This revision was automatically updated to reflect the committed changes.