[Lldb-commits] [lldb] r214340 - Revert a part of r214335 that I didn't mean to commit
Enrico Granata
egranata at apple.com
Wed Jul 30 14:10:03 PDT 2014
Author: enrico
Date: Wed Jul 30 16:10:03 2014
New Revision: 214340
URL: http://llvm.org/viewvc/llvm-project?rev=214340&view=rev
Log:
Revert a part of r214335 that I didn't mean to commit
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=214340&r1=214339&r2=214340&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Wed Jul 30 16:10:03 2014
@@ -78,16 +78,14 @@ GetCompleteQualType (clang::ASTContext *
clang::TagDecl *tag_decl = tag_type->getDecl();
if (tag_decl)
{
- if (!tag_decl->hasExternalLexicalStorage())
+ if (tag_decl->isCompleteDefinition())
+ return true;
+
+ if (!allow_completion)
+ return false;
+
+ if (tag_decl->hasExternalLexicalStorage())
{
- if (tag_decl->isCompleteDefinition())
- return true;
- }
- else
- {
- if (!allow_completion)
- return false;
-
if (ast)
{
clang::ExternalASTSource *external_ast_source = ast->getExternalSource();
More information about the lldb-commits
mailing list