diff options
author | Devang Patel <dpatel@apple.com> | 2009-08-27 23:51:51 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-08-27 23:51:51 +0000 |
commit | a1ba269a27ca9d776e6de77e8177fa8fa844bd5e (patch) | |
tree | f85e51d6a4ae61c36b34cf42ac1aebcd6130b2de /include/llvm/Analysis | |
parent | 58b5068b1ac7a1ce4c2eeee30c600d2a5b9e37e0 (diff) | |
download | llvm-a1ba269a27ca9d776e6de77e8177fa8fa844bd5e.tar.gz llvm-a1ba269a27ca9d776e6de77e8177fa8fa844bd5e.tar.bz2 llvm-a1ba269a27ca9d776e6de77e8177fa8fa844bd5e.tar.xz |
Closure is a very generic name. Use AppleBlock instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index c0721d33c6..5a9febf542 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -169,10 +169,10 @@ namespace llvm { class DIType : public DIDescriptor { public: enum { - FlagPrivate = 1 << 0, - FlagProtected = 1 << 1, - FlagFwdDecl = 1 << 2, - FlagClosure = 1 << 3 + FlagPrivate = 1 << 0, + FlagProtected = 1 << 1, + FlagFwdDecl = 1 << 2, + FlagAppleBlock = 1 << 3 }; protected: @@ -224,8 +224,9 @@ namespace llvm { bool isForwardDecl() const { return (getFlags() & FlagFwdDecl) != 0; } - bool isClosure() const { - return (getFlags() & FlagClosure) != 0; + // isAppleBlock - Return true if this is the Apple Blocks extension. + bool isAppleBlockExtension() const { + return (getFlags() & FlagAppleBlock) != 0; } /// dump - print type. |