[PATCH] D18575: [clang-tidy] New checker to replace deprecated throw() specifications
don hinton via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 17 20:11:15 PDT 2016
hintonda marked 9 inline comments as done.
================
Comment at: clang-tidy/modernize/UseNoexceptCheck.cpp:62
@@ +61,3 @@
+
+ const FunctionDecl *FuncDecl =
+ Result.Nodes.getNodeAs<clang::FunctionDecl>("functionDecl");
----------------
Still need to fix the call in UseOverrideCheck.cpp, but will wait till this has been reviewed.
================
Comment at: clang-tidy/modernize/UseNoexceptCheck.cpp:132
@@ +131,2 @@
+} // namespace tidy
+} // namespace clang
----------------
I still need to parse it to find the range, so I'm not sure I'm not convinced the code will be any shorter/faster, but if there is a faster way, please let me know.
http://reviews.llvm.org/D18575
More information about the cfe-commits
mailing list