projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6809287
)
Revert a part of r214335 that I didn't mean to commit
author
Enrico Granata
<egranata@apple.com>
Wed, 30 Jul 2014 21:10:03 +0000
(21:10 +0000)
committer
Enrico Granata
<egranata@apple.com>
Wed, 30 Jul 2014 21:10:03 +0000
(21:10 +0000)
llvm-svn: 214340
lldb/source/Symbol/ClangASTType.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Symbol/ClangASTType.cpp
b/lldb/source/Symbol/ClangASTType.cpp
index
0297e15
..
a0878ae
100644
(file)
--- a/
lldb/source/Symbol/ClangASTType.cpp
+++ b/
lldb/source/Symbol/ClangASTType.cpp
@@
-78,16
+78,14
@@
GetCompleteQualType (clang::ASTContext *ast, clang::QualType qual_type, bool all
clang::TagDecl *tag_decl = tag_type->getDecl();
if (tag_decl)
{
- if (!tag_decl->hasExternalLexicalStorage())
- {
- if (tag_decl->isCompleteDefinition())
- return true;
- }
- else
+ if (tag_decl->isCompleteDefinition())
+ return true;
+
+ if (!allow_completion)
+ return false;
+
+ if (tag_decl->hasExternalLexicalStorage())
{
- if (!allow_completion)
- return false;
-
if (ast)
{
clang::ExternalASTSource *external_ast_source = ast->getExternalSource();