[PATCH] D19201: [clang-tidy] misc-throw-with-noexcept

Stanisław Barzowski via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 14:26:53 PDT 2016


sbarzowski marked 11 inline comments as done.

================
Comment at: clang-tidy/misc/ThrowWithNoexceptCheck.cpp:33
@@ +32,3 @@
+// token including trailing whitespace.
+static SourceRange findToken(const SourceManager &Sources, LangOptions LangOpts,
+                             SourceLocation StartLoc, SourceLocation EndLoc,
----------------
I agree 100%. I see the code here as a temporary solution, before we have a proper AST functionality for doing that cleanly.


Repository:
  rL LLVM

http://reviews.llvm.org/D19201





More information about the cfe-commits mailing list