aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-23 18:25:56 +0000
committerDevang Patel <dpatel@apple.com>2010-08-23 18:25:56 +0000
commit0c4720c6bdf517d02aaf71d90c0572a5aa4813bc (patch)
tree88538fbeca52ccbbfa5946639d22c5b3faafce52 /lib/Analysis
parent30dc1ee78ae99e4d9e92cdb02f1cbd64827c0630 (diff)
downloadexternal_llvm-0c4720c6bdf517d02aaf71d90c0572a5aa4813bc.zip
external_llvm-0c4720c6bdf517d02aaf71d90c0572a5aa4813bc.tar.gz
external_llvm-0c4720c6bdf517d02aaf71d90c0572a5aa4813bc.tar.bz2
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')
-rw-r--r--lib/Analysis/DebugInfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index 0bd7904..c380028 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)