[PATCH] D122244: [analyzer] Turn missing tablegen doc entry of a checker into fatal error
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 24 01:45:00 PDT 2022
Szelethus accepted this revision.
Szelethus added a comment.
This revision is now accepted and ready to land.
LGTM! You did check whether a missing doc field will actually trigger this error, right?
================
Comment at: clang/utils/TableGen/ClangSACheckersEmitter.cpp:82
+ PrintFatalError(R.getLoc(),
+ "missing Documentation for " + getCheckerFullName(&R));
+
----------------
We might as well give an extra hand, and state that a `Documentation<> field` is missing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122244/new/
https://reviews.llvm.org/D122244
More information about the cfe-commits
mailing list