llvm-project/clang/tools
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
..
arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [libclang] Allow skipping function bodies in preamble only 2018-05-17 09:24:37 +00:00
clang-check Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-diff [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-format Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-format-vs clang-format plugin: Add missing semicolon in list of file extensions (PR36383) 2018-02-20 09:26:38 +00:00
clang-func-mapping [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-fuzzer update two comments as suggested on https://reviews.llvm.org/D46843 2018-05-15 16:37:00 +00:00
clang-import-test Fix case of LLVM library names. 2018-04-23 15:41:08 +00:00
clang-offload-bundler [HIP] Let clang-offload-bundler support HIP 2018-05-11 19:02:18 +00:00
clang-refactor Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-rename Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
diag-build
diagtool [diagtool] Add diagtool to install target. 2018-05-16 10:23:25 +00:00
driver Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
libclang [libclang] Allow skipping function bodies in preamble only 2018-05-17 09:24:37 +00:00
scan-build Fix typos in clang 2018-04-06 15:14:32 +00:00
scan-build-py Fix typos in clang 2018-04-06 15:14:32 +00:00
scan-view Fix typos in clang 2018-04-06 15:14:32 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00