diff options
| author | Devang Patel <dpatel@apple.com> | 2010-07-20 22:32:37 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-07-20 22:32:37 +0000 |
| commit | 0043977f09721706462b9593ab742eebf2a9532d (patch) | |
| tree | 796376469fb3d2937e927628737caf7370767d4a /clang/lib/CodeGen | |
| parent | 2366d95af9472eb9ebc9408e59a27f9df4cbdb39 (diff) | |
| download | bcm5719-llvm-0043977f09721706462b9593ab742eebf2a9532d.tar.gz bcm5719-llvm-0043977f09721706462b9593ab742eebf2a9532d.zip | |
Remove unintended code that was checked in as part of r108916.
llvm-svn: 108951
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 7c5ad028ba3..83eaf76e37d 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -572,18 +572,6 @@ CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method, llvm::DIType ThisPtrType = DebugFactory.CreateArtificialType(getOrCreateType(ThisPtr, Unit)); - unsigned Quals = Method->getTypeQualifiers(); - if (Quals & Qualifiers::Const) - ThisPtrType = - DebugFactory.CreateDerivedType(llvm::dwarf::DW_TAG_const_type, - Unit, "", Unit, - 0, 0, 0, 0, 0, ThisPtrType); - if (Quals & Qualifiers::Volatile) - ThisPtrType = - DebugFactory.CreateDerivedType(llvm::dwarf::DW_TAG_volatile_type, - Unit, "", Unit, - 0, 0, 0, 0, 0, ThisPtrType); - TypeCache[ThisPtr.getAsOpaquePtr()] = ThisPtrType; Elts.push_back(ThisPtrType); |

