forked from OSchip/llvm-project
![]() Many concepts emulation libraries, such as the one found in Range v3, tend to use non-type template parameters for the enable_if type expression, due to their versatility in template functions and constructors containing variadic template parameter packs. Unfortunately the bugprone-forwarding-reference-overload check does not handle non-type template parameters, as was first noted in this bug report: https://bugs.llvm.org/show_bug.cgi?id=38081 This patch fixes this long standing issue and allows for the check to be suppressed with the use of a non-type template parameter containing enable_if or enable_if_t in the type expression, so long as it has a default literal value. |
||
---|---|---|
.. | ||
abseil | ||
altera | ||
android | ||
boost | ||
bugprone | ||
cert | ||
concurrency | ||
cppcoreguidelines | ||
darwin | ||
fuchsia | ||
hicpp | ||
linuxkernel | ||
llvm | ||
llvmlibc | ||
misc | ||
modernize | ||
mpi | ||
objc | ||
openmp | ||
performance | ||
plugin | ||
portability | ||
readability | ||
tool | ||
utils | ||
zircon | ||
CMakeLists.txt | ||
ClangTidy.cpp | ||
ClangTidy.h | ||
ClangTidyCheck.cpp | ||
ClangTidyCheck.h | ||
ClangTidyDiagnosticConsumer.cpp | ||
ClangTidyDiagnosticConsumer.h | ||
ClangTidyForceLinker.h | ||
ClangTidyModule.cpp | ||
ClangTidyModule.h | ||
ClangTidyModuleRegistry.h | ||
ClangTidyOptions.cpp | ||
ClangTidyOptions.h | ||
ClangTidyProfiling.cpp | ||
ClangTidyProfiling.h | ||
ExpandModularHeadersPPCallbacks.cpp | ||
ExpandModularHeadersPPCallbacks.h | ||
GlobList.cpp | ||
GlobList.h | ||
add_new_check.py | ||
clang-tidy-config.h.cmake | ||
rename_check.py |