llvm-project/clang-tools-extra/clang-tidy/fuchsia
Paula Toth ebdb98f254 [clang-tidy] Move fuchsia-restrict-system-includes to portability module for general use.
Summary:
Created a general check for restrict-system-includes under portability as recommend in the comments under D75332. I also fleshed out the user facing documentation to show examples for common use-cases such as allow-list, block-list, and wild carding.

Removed fuchsia's check as per phosek sugguestion.

Reviewers: aaron.ballman, phosek, alexfh, hokein, njames93

Reviewed By: phosek

Subscribers: Eugene.Zelenko, mgorny, xazax.hun, phosek, cfe-commits, MaskRay

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D75786
2020-03-10 13:33:06 -07:00
..
CMakeLists.txt [clang-tidy] Move fuchsia-restrict-system-includes to portability module for general use. 2020-03-10 13:33:06 -07:00
DefaultArgumentsCallsCheck.cpp [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +00:00
DefaultArgumentsCallsCheck.h [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +00:00
DefaultArgumentsDeclarationsCheck.cpp [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +00:00
DefaultArgumentsDeclarationsCheck.h [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +00:00
FuchsiaTidyModule.cpp [clang-tidy] Move fuchsia-restrict-system-includes to portability module for general use. 2020-03-10 13:33:06 -07:00
MultipleInheritanceCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MultipleInheritanceCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
OverloadedOperatorCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OverloadedOperatorCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
StaticallyConstructedObjectsCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
StaticallyConstructedObjectsCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
TrailingReturnCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
TrailingReturnCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
VirtualInheritanceCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VirtualInheritanceCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00