diff options
author | Erik Verbruggen <erikjv@me.com> | 2012-04-12 10:11:59 +0000 |
---|---|---|
committer | Erik Verbruggen <erikjv@me.com> | 2012-04-12 10:11:59 +0000 |
commit | 6a91d385618ea4d28236c496f540a26877c95525 (patch) | |
tree | 519b6349002f939312dbf362c992bd0507211beb /lib/Frontend/FrontendAction.cpp | |
parent | f33d549b16a4d2f7325a099eee0ab7ee50c9528f (diff) |
Added a flag to the parser to skip method bodies.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FrontendAction.cpp')
-rw-r--r-- | lib/Frontend/FrontendAction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/FrontendAction.cpp b/lib/Frontend/FrontendAction.cpp index fccee89e06..da4bdfabc0 100644 --- a/lib/Frontend/FrontendAction.cpp +++ b/lib/Frontend/FrontendAction.cpp @@ -412,7 +412,8 @@ void ASTFrontendAction::ExecuteAction() { if (!CI.hasSema()) CI.createSema(getTranslationUnitKind(), CompletionConsumer); - ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats); + ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, + CI.getFrontendOpts().SkipFunctionBodies); } void PluginASTAction::anchor() { } |