[PATCH] D59932: [clang-tidy] **Prototype**: Add fix description to clang-tidy checks.
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 28 08:47:33 PDT 2019
Eugene.Zelenko added inline comments.
================
Comment at: clang-tidy/ClangTidyCheck.h:109
+ /// not supported.
+ virtual llvm::StringRef fixDescription() { return ""; }
+
----------------
return {} could be used instead.
================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:266
+ return I->second.first;
+ return "";
+}
----------------
return {} could be used instead.
================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:274
+ return I->second.second;
return "";
}
----------------
return {} could be used instead.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59932/new/
https://reviews.llvm.org/D59932
More information about the cfe-commits
mailing list