llvm-project/clang/include/clang-c
Ivan Donchevskii 6e89528c55 [libclang] Allow skipping function bodies in preamble only
Second attempt. Fix line endings and warning.

As an addition to CXTranslationUnit_SkipFunctionBodies, provide the
new option CXTranslationUnit_LimitSkipFunctionBodiesToPreamble,
which constraints the skipping of functions bodies to the preamble
only. Function bodies in the main file are not affected if this
option is set.

Skipping function bodies only in the preamble is what clangd already
does and the introduced flag implements it for libclang clients.

Patch by Nikolai Kosjar.

Differential Revision: https://reviews.llvm.org/D45815

llvm-svn: 332587
2018-05-17 09:24:37 +00:00
..
BuildSystem.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXCompilationDatabase.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXErrorCode.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXString.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Documentation.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Index.h [libclang] Allow skipping function bodies in preamble only 2018-05-17 09:24:37 +00:00
Platform.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
module.modulemap The Clang C API does not require C++. Thanks to Jordan Rose for pointing out this error! 2014-06-12 22:09:11 +00:00