diff options
author | Devang Patel <dpatel@apple.com> | 2012-02-04 00:59:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2012-02-04 00:59:25 +0000 |
commit | cc481596e4b8a4b1541d500cfe2e098c611a1c98 (patch) | |
tree | 00691d159c8b4251b7eb61c8298dfdcb1b083871 /llvm/lib/Analysis/DebugInfo.cpp | |
parent | 130bbd0302112013dd831a56f8bdacfcf7064d48 (diff) | |
download | bcm5719-llvm-cc481596e4b8a4b1541d500cfe2e098c611a1c98.tar.gz bcm5719-llvm-cc481596e4b8a4b1541d500cfe2e098c611a1c98.zip |
Introduce DIObjCProperty. This will be used to encode objective-c property.
llvm-svn: 149732
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index f925b5ca43a..a2d2c5f5803 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/lib/Analysis/DebugInfo.cpp @@ -289,6 +289,10 @@ bool DIDescriptor::isEnumerator() const { return DbgNode && getTag() == dwarf::DW_TAG_enumerator; } +/// isObjCProperty - Return true if the specified tag is DW_TAG +bool DIDescriptor::isObjCProperty() const { + return DbgNode && getTag() == dwarf::DW_TAG_APPLE_Property; +} //===----------------------------------------------------------------------===// // Simple Descriptor Constructors and other Methods //===----------------------------------------------------------------------===// |