[PATCH] D132294: [clang-tidy] Add check of sprintf with fixed size buffer
方程 via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 6 06:57:11 PDT 2022
Yoorkin added a comment.
I want to enable this check in both c and c++, but didn't find option `LangOpt.C`. For c++, we have option `LangOpt.CPlusPlus`. There is only some specific c standard option like `C99` `C11` `C17` and `C2X` defined in `LangOptions.def`. Could you tell me how to do this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132294/new/
https://reviews.llvm.org/D132294
More information about the cfe-commits
mailing list