[PATCH] D99646: [clang-tidy] misc-std-stream-objects-outside-main: a new check
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 31 14:19:35 PDT 2021
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/misc/StdStreamObjectsOutsideMainCheck.h:30
+ return LangOpts.CPlusPlus;
+ };
+
----------------
Semicolon is not needed and should cause `-Wextra-semi` warnings.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99646/new/
https://reviews.llvm.org/D99646
More information about the cfe-commits
mailing list