- Update comments.

- Don't use GlobalVariable::LinkageTypes when unsigned works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2008-07-01 22:08:01 +00:00
parent ecdc82a643
commit a28cd12b06
3 changed files with 30 additions and 41 deletions

View File

@@ -7,15 +7,15 @@
//
//===----------------------------------------------------------------------===//
//
//
//
// Debug descriptor information for a module.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
#define LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
#include "llvm/GlobalValue.h"
#include "llvm/Support/DataTypes.h"
#include <string>
#include <vector>
namespace llvm {
@@ -67,7 +67,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
virtual GlobalValue::LinkageTypes getLinkage() const;
virtual unsigned getLinkage() const;
//===--------------------------------------------------------------------===//
// Subclasses should supply the following virtual methods.
@@ -111,7 +111,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
virtual GlobalValue::LinkageTypes getLinkage() const;
virtual unsigned getLinkage() const;
/// ApplyToFields - Target the visitor to the fields of the AnchorDesc.
///