diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-31 17:29:22 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-31 17:29:22 +0000 |
commit | 3a6c8141f9aeae620bd5d66c17bf5a721d9d02c1 (patch) | |
tree | 7503ccb274720f89cd4e897ec4132a828bd17223 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 9d08a15b0f125cfbea946b1404722ef07e02c52f (diff) | |
download | llvm-3a6c8141f9aeae620bd5d66c17bf5a721d9d02c1.zip llvm-3a6c8141f9aeae620bd5d66c17bf5a721d9d02c1.tar.gz llvm-3a6c8141f9aeae620bd5d66c17bf5a721d9d02c1.tar.bz2 |
Decouple code-completion for the SkipFunctionBodies frontend option and
add a test to make sure code-completion skips bodies.
llvm-svn: 167141
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index fca9f0b..80d15c6 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -89,7 +89,6 @@ void CompilerInstance::setASTConsumer(ASTConsumer *Value) { void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) { CompletionConsumer.reset(Value); - getFrontendOpts().SkipFunctionBodies = Value != 0; } // Diagnostics |