[PATCH] D66879: [Index] Added a ShouldSkipFunctionBody callback to libIndex, and refactored clients to use it instead of inventing their own solution

Jan Korous via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 10:37:13 PDT 2019


jkorous added inline comments.


================
Comment at: clang/include/clang/Index/IndexingAction.h:60
+
+inline std::unique_ptr<ASTConsumer> createIndexingASTConsumer(
+    std::shared_ptr<IndexDataConsumer> DataConsumer,
----------------
Why not use default argument instead of overloading?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66879/new/

https://reviews.llvm.org/D66879





More information about the cfe-commits mailing list