diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-01 06:23:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-01 06:23:52 +0000 |
commit | 3088a31e96ab75f567e272dc5f6ca5fe347d6caa (patch) | |
tree | 533c9c4da16631fa7c1c50e1f681621bdbc02212 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 0bb090923349f80d4b461dde91772422087efb61 (diff) | |
download | bcm5719-llvm-3088a31e96ab75f567e272dc5f6ca5fe347d6caa.tar.gz bcm5719-llvm-3088a31e96ab75f567e272dc5f6ca5fe347d6caa.zip |
remove ASTContext::buildObjCInterfaceType, which breaks canonical
types. It is no longer needed now that the code generator
re-lays-out interfaces if they are defines after being laid out
from a forward decl.
llvm-svn: 68194
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index bde6fba137f..c0819369b1f 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -749,7 +749,7 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var, std::string Name = Decl->getNameAsString(); - QualType T = M->getContext().buildObjCInterfaceType(Decl); + QualType T = M->getContext().getObjCInterfaceType(Decl); if (T->isIncompleteArrayType()) { // CodeGen turns int[] into int[1] so we'll do the same here. |