aaron.ballman added a comment.
This fix is missing test coverage, can you add a C++11 and C++14 test to
demonstrate the behavior differences?
================
Comment at: clang-tidy/modernize/MakeSharedCheck.cpp:30
+bool MakeSharedCheck::isVersionSupported(const clang::LangOptions &LangOpts)
const {
+ return LangOpts.CPlusPlus11;
----------------
You can drop the `clang::` from the parameter type.
================
Comment at: clang-tidy/modernize/MakeUniqueCheck.cpp:39
+bool MakeUniqueCheck::isVersionSupported(const clang::LangOptions &LangOpts)
const {
+ return LangOpts.CPlusPlus14;
----------------
Can drop it here as well.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D43766
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits