80 columns!

llvm-svn: 77243
This commit is contained in:
Devang Patel 2009-07-27 20:30:05 +00:00
parent e5b969f6a6
commit 9db94d1480
1 changed files with 12 additions and 5 deletions

View File

@ -213,9 +213,15 @@ namespace llvm {
// carry this is just plain insane. // carry this is just plain insane.
uint64_t getOffsetInBits() const { return getUInt64Field(7); } uint64_t getOffsetInBits() const { return getUInt64Field(7); }
unsigned getFlags() const { return getUnsignedField(8); } unsigned getFlags() const { return getUnsignedField(8); }
bool isPrivate() const { return (getFlags() & FlagPrivate) != 0; } bool isPrivate() const { return
bool isProtected() const { return (getFlags() & FlagProtected) != 0; } (getFlags() & FlagPrivate) != 0;
bool isForwardDecl() const { return (getFlags() & FlagFwdDecl) != 0; } }
bool isProtected() const {
return (getFlags() & FlagProtected) != 0;
}
bool isForwardDecl() const {
return (getFlags() & FlagFwdDecl) != 0;
}
/// dump - print type. /// dump - print type.
void dump() const; void dump() const;
@ -552,8 +558,9 @@ namespace llvm {
/// Find the debug info descriptor corresponding to this global variable. /// Find the debug info descriptor corresponding to this global variable.
Value *findDbgGlobalDeclare(GlobalVariable *V); Value *findDbgGlobalDeclare(GlobalVariable *V);
bool getLocationInfo(const Value *V, std::string &DisplayName, std::string &Type, bool getLocationInfo(const Value *V, std::string &DisplayName,
unsigned &LineNo, std::string &File, std::string &Dir); std::string &Type, unsigned &LineNo, std::string &File,
std::string &Dir);
/// CollectDebugInfoAnchors - Collect debugging information anchors. /// CollectDebugInfoAnchors - Collect debugging information anchors.
void CollectDebugInfoAnchors(Module &M, void CollectDebugInfoAnchors(Module &M,