[PATCH] D36531: [Parse] Document Parser::SkipFunctionBodies
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 10 10:03:01 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310627: [Parse] Document Parser::SkipFunctionBodies (authored by modocache).
Repository:
rL LLVM
https://reviews.llvm.org/D36531
Files:
cfe/trunk/include/clang/Parse/Parser.h
Index: cfe/trunk/include/clang/Parse/Parser.h
===================================================================
--- cfe/trunk/include/clang/Parse/Parser.h
+++ cfe/trunk/include/clang/Parse/Parser.h
@@ -253,6 +253,10 @@
/// be NULL.
bool ParsingInObjCContainer;
+ /// Whether to skip parsing of function bodies.
+ ///
+ /// This option can be used, for example, to speed up searches for
+ /// delcarations/definitions when indexing.
bool SkipFunctionBodies;
/// The location of the expression statement that is being parsed right now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36531.110604.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170810/908398a5/attachment.bin>
More information about the cfe-commits
mailing list