[PATCH] D48908: [clang-doc] Pass over function-internal declarations

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 3 19:29:27 PDT 2018


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/clang-doc/Mapper.cpp:32
+  // Skip function-internal decls.
+  if (const auto *F = D->getParentFunctionOrMethod())
+    return true;
----------------
Type is not easily deducible, so please don't use auto.


https://reviews.llvm.org/D48908





More information about the cfe-commits mailing list