[llvm-commits] [llvm] r117601 - /llvm/trunk/include/llvm/Analysis/DebugInfo.h

Devang Patel dpatel at apple.com
Thu Oct 28 13:41:11 PDT 2010


Author: dpatel
Date: Thu Oct 28 15:41:11 2010
New Revision: 117601

URL: http://llvm.org/viewvc/llvm-project?rev=117601&view=rev
Log:
Fix indentation.

Modified:
    llvm/trunk/include/llvm/Analysis/DebugInfo.h

Modified: llvm/trunk/include/llvm/Analysis/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DebugInfo.h?rev=117601&r1=117600&r2=117601&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/DebugInfo.h Thu Oct 28 15:41:11 2010
@@ -233,11 +233,11 @@
     DIScope getContext() const          { return getFieldAs<DIScope>(1); }
     StringRef getName() const           { return getStringField(2);     }
     DICompileUnit getCompileUnit() const{ 
-      if (getVersion() == llvm::LLVMDebugVersion7)
-        return getFieldAs<DICompileUnit>(3);
-
-      DIFile F = getFieldAs<DIFile>(3);
-      return F.getCompileUnit();
+     if (getVersion() == llvm::LLVMDebugVersion7)
+       return getFieldAs<DICompileUnit>(3);
+     
+     DIFile F = getFieldAs<DIFile>(3);
+     return F.getCompileUnit();
     }
     unsigned getLineNumber() const      { return getUnsignedField(4); }
     uint64_t getSizeInBits() const      { return getUInt64Field(5); }





More information about the llvm-commits mailing list