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 | a8652674e0c528f6ff6fac98344c378603bf4bb0 (patch) | |
| tree | 81f088b409f24dd7adb27a8baa0954ecb11e63c0 /llvm/lib/Analysis/DebugInfo.cpp | |
| parent | 620b68e8831890176b82df611117622728065233 (diff) | |
| download | llvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.zip llvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.tar.gz llvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.tar.bz2 | |
Handle qualified constants that are directly folded by FE.
PR 7920.
llvm-svn: 111820
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
| -rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 0bd7904..c380028 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/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) |
