[PATCH] D15710: [clang-tidy] Add non-inline function definition and variable definition check in header files.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 4 07:31:35 PST 2016
hokein updated this revision to Diff 43887.
hokein added a comment.
Add !inMainFile check.
http://reviews.llvm.org/D15710
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/DefinitionsInHeadersCheck.cpp
clang-tidy/misc/DefinitionsInHeadersCheck.h
clang-tidy/misc/MiscTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-definitions-in-headers.rst
test/clang-tidy/check_clang_tidy.py
test/clang-tidy/misc-definitions-in-headers.hpp
test/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15710.43887.patch
Type: text/x-patch
Size: 12566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160104/e12e1ba0/attachment-0001.bin>
More information about the cfe-commits
mailing list