diff options
Diffstat (limited to 'include/llvm/Analysis/DebugInfo.h')
| -rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 4f86f50..aabddb0 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -173,7 +173,8 @@ namespace llvm { enum { FlagPrivate = 1 << 0, FlagProtected = 1 << 1, - FlagFwdDecl = 1 << 2 + FlagFwdDecl = 1 << 2, + FlagClosure = 1 << 3 }; protected: @@ -226,6 +227,9 @@ namespace llvm { bool isForwardDecl() const { return (getFlags() & FlagFwdDecl) != 0; } + bool isClosure() const { + return (getFlags() & FlagClosure) != 0; + } /// dump - print type. void dump() const; |
