aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-07-02 00:35:47 +0000
committerBill Wendling <isanbard@gmail.com>2008-07-02 00:35:47 +0000
commit9ac67a7edd2c6dabdcc11b2efd46f0e4458c3bf3 (patch)
treefe31946699f829f62041d02a1c5728fa68530e23 /include
parent1167371eac47ee392cd72f825d44c35b4663c66f (diff)
downloadexternal_llvm-9ac67a7edd2c6dabdcc11b2efd46f0e4458c3bf3.zip
external_llvm-9ac67a7edd2c6dabdcc11b2efd46f0e4458c3bf3.tar.gz
external_llvm-9ac67a7edd2c6dabdcc11b2efd46f0e4458c3bf3.tar.bz2
Sorry. I couldn't sleep at night knowing I put these ugly casts into the source tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineDebugInfoDesc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfoDesc.h b/include/llvm/CodeGen/MachineDebugInfoDesc.h
index 50f093d..55f8767 100644
--- a/include/llvm/CodeGen/MachineDebugInfoDesc.h
+++ b/include/llvm/CodeGen/MachineDebugInfoDesc.h
@@ -14,6 +14,7 @@
#ifndef LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
#define LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
+#include "llvm/GlobalValue.h"
#include "llvm/Support/DataTypes.h"
#include <string>
#include <vector>
@@ -67,7 +68,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
- virtual unsigned getLinkage() const;
+ virtual GlobalValue::LinkageTypes getLinkage() const;
//===--------------------------------------------------------------------===//
// Subclasses should supply the following virtual methods.
@@ -111,7 +112,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
- virtual unsigned getLinkage() const;
+ virtual GlobalValue::LinkageTypes getLinkage() const;
/// ApplyToFields - Target the visitor to the fields of the AnchorDesc.
///