“青云直上”的感觉,诗意一点儿的话,很多人认为这是“两只黄鹂鸣翠柳、一行白鹭上青天”(翻译过来就...
clang/test/SemaCXX/source_location.cpp Original file line numberDiff line numberDiff line change @@ -1012,3 +1012,21 @@ int h = Var<int>; } namespace GH119129 { struct X{ constexpr int foo(std::source_location loc = std::source_location::current()) { return loc.line(); } }...
Insights Additional navigation options New issue Closed amykhuangwants to merge3commits intogrpc:masterfromamykhuang:master +1−2 Conversation4Commits3Checks5Files changed1 [Fix] new clang -Wmissing-template-arg-list-after-template-kw warning ...
b/clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp index 4505eef6df24bd..8e325b0ae6ca30 100644 --- a/clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp +++ b/clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp @@ -...
tidy/performance/MoveConstArgCheck.cpp +++ b/clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp @@ -209,8 +209,9 @@ void MoveConstArgCheck::check(const MatchFinder::MatchResult &Result) { } if (const CXXRecordDecl *RecordDecl = ArgType->getAsCXXRecordDecl(); - RecordDecl &&...
Type: LanguageService Describe the bug OS and Version: Windows 10 19631 VS Code Version: 1.45.1 When using the clang compiler, the logic in cpptools.exe to find compiler default defines and include paths finds the wrong information if th...
<clang-tidy/checks/performance/move-const-arg>` check to warn when move special member functions are not available. - Improved :doc:`performance-no-automatic-move <clang-tidy/checks/performance/no-automatic-move>`: warn on ``const &&`` constructors.Loading...
+++ test/clang-tidy/readability-redundant-void-arg.c @@ -0,0 +1,125 @@ +// RUN: $(dirname %s)/check_clang_tidy.sh %s readability-redundant-void-arg %t -- -x c +// REQUIRES: shell + +#include <stdio.h> + +extern int i; ...
how about moving it to clang-modernize?http://reviews.llvm.org/D7639EMAIL PREFERENCEShttp://reviews.llvm.org/settings/panel/emailpreferences/___ cfe-commits mailing list cfe-commits@cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo
Agree. Also, we want to migrate clang-modernize transformations to clang-tidy some day (it's an extremely low priority task though). Wrt this check, it might fit better in a new module named "legacy". Not extremely important and definitely not necessary for this patch. What's necessary, ...