[PATCH] D36531: [Parse] Document Parser::SkipFunctionBodies
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 9 10:12:02 PDT 2017
modocache created this revision.
https://reviews.llvm.org/D36531
Files:
include/clang/Parse/Parser.h
Index: include/clang/Parse/Parser.h
===================================================================
--- include/clang/Parse/Parser.h
+++ 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.110428.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170809/0db936a1/attachment.bin>
More information about the cfe-commits
mailing list