[PATCH] D45815: [libclang] Add options to limit skipping of function bodies

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 24 05:55:06 PDT 2018


yvvan added inline comments.


================
Comment at: include/clang/Frontend/ASTUnit.h:679
+  struct SkipFunctionBodiesOptions {
+    SkipFunctionBodiesOptions() {}
+    enum { None, MainFileAndPreamble, Preamble } Scope = None;
----------------
ilya-biryukov wrote:
> Default ctor will be generated automatically. Maybe remove explicit definition?
or replace by constructor with parameters


Repository:
  rC Clang

https://reviews.llvm.org/D45815





More information about the cfe-commits mailing list