diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-23 18:25:56 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-23 18:25:56 +0000 |
commit | 0c4720c6bdf517d02aaf71d90c0572a5aa4813bc (patch) | |
tree | 88538fbeca52ccbbfa5946639d22c5b3faafce52 /lib/Analysis/DebugInfo.cpp | |
parent | 30dc1ee78ae99e4d9e92cdb02f1cbd64827c0630 (diff) |
Handle qualified constants that are directly folded by FE.
PR 7920.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 0bd7904060..c380028429 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -303,6 +303,16 @@ bool DIType::Verify() const { return true; } +/// Verify - Verify that a basic type descriptor is well formed. +bool DIBasicType::Verify() const { + return isBasicType(); +} + +/// Verify - Verify that a derived type descriptor is well formed. +bool DIDerivedType::Verify() const { + return isDerivedType(); +} + /// Verify - Verify that a composite type descriptor is well formed. bool DICompositeType::Verify() const { if (!DbgNode) |