diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-27 20:30:05 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-27 20:30:05 +0000 |
commit | e2d5a6c3bb9b2c3bce78bb0143d8988bf6735d44 (patch) | |
tree | dcd51c06b28ea377c1798e5b61b7b8545b1f978c /include | |
parent | c9d138f505b515e96eb761a7b2138cd27f3f9536 (diff) | |
download | external_llvm-e2d5a6c3bb9b2c3bce78bb0143d8988bf6735d44.zip external_llvm-e2d5a6c3bb9b2c3bce78bb0143d8988bf6735d44.tar.gz external_llvm-e2d5a6c3bb9b2c3bce78bb0143d8988bf6735d44.tar.bz2 |
80 columns!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 39fe01d..b8e4c6c 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -213,9 +213,15 @@ namespace llvm { // carry this is just plain insane. uint64_t getOffsetInBits() const { return getUInt64Field(7); } unsigned getFlags() const { return getUnsignedField(8); } - bool isPrivate() const { return (getFlags() & FlagPrivate) != 0; } - bool isProtected() const { return (getFlags() & FlagProtected) != 0; } - bool isForwardDecl() const { return (getFlags() & FlagFwdDecl) != 0; } + bool isPrivate() const { return + (getFlags() & FlagPrivate) != 0; + } + bool isProtected() const { + return (getFlags() & FlagProtected) != 0; + } + bool isForwardDecl() const { + return (getFlags() & FlagFwdDecl) != 0; + } /// dump - print type. void dump() const; @@ -552,8 +558,9 @@ namespace llvm { /// Find the debug info descriptor corresponding to this global variable. Value *findDbgGlobalDeclare(GlobalVariable *V); - bool getLocationInfo(const Value *V, std::string &DisplayName, std::string &Type, - unsigned &LineNo, std::string &File, std::string &Dir); + bool getLocationInfo(const Value *V, std::string &DisplayName, + std::string &Type, unsigned &LineNo, std::string &File, + std::string &Dir); /// CollectDebugInfoAnchors - Collect debugging information anchors. void CollectDebugInfoAnchors(Module &M, |