aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-29 03:30:59 +0000
committerChris Lattner <sabre@nondot.org>2002-03-29 03:30:59 +0000
commit0edcc41253410eb3bdafa8e341704f4be5bef552 (patch)
treeb2b01607db1a8b52ab1bf771825993934248ab14 /include/llvm/Function.h
parent433906511f88b710d474c825e8b82fcbf6791e58 (diff)
downloadexternal_llvm-0edcc41253410eb3bdafa8e341704f4be5bef552.zip
external_llvm-0edcc41253410eb3bdafa8e341704f4be5bef552.tar.gz
external_llvm-0edcc41253410eb3bdafa8e341704f4be5bef552.tar.bz2
s/Method/Function/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index d7e304d..4621694 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -15,7 +15,7 @@
#include "llvm/GlobalValue.h"
#include "llvm/ValueHolder.h"
-class MethodType;
+class FunctionType;
class Function : public GlobalValue, public SymTabValue {
public:
@@ -38,14 +38,14 @@ private:
void setParent(Module *parent);
public:
- Function(const MethodType *Ty, bool isInternal, const std::string &Name = "");
+ Function(const FunctionType *Ty, bool isInternal, const std::string &N = "");
~Function();
// Specialize setName to handle symbol table majik...
virtual void setName(const std::string &name, SymbolTable *ST = 0);
- const Type *getReturnType() const; // Return the return type of method
- const MethodType *getMethodType() const; // Return the MethodType for me
+ const Type *getReturnType() const; // Return the type of the ret val
+ const FunctionType *getFunctionType() const; // Return the FunctionType for me
// Is the body of this method unknown? (the basic block list is empty if so)
// this is true for external methods, defined as forward "declare"ations