aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-21 08:38:50 +0000
committerChris Lattner <sabre@nondot.org>2009-03-21 08:38:50 +0000
commit62b33ea51adbd0e7f2f05983e9e4a3a2b2ed26de (patch)
treed019a856eae939285ac506954ebee8911c806986 /lib/CodeGen/CodeGenModule.h
parentca3f25c1fb9bbf0d807985baee460670b7f195b4 (diff)
code cleanups, rename EmitForwardFunctionDefinition ->
CreateFunctionPrototypeIR, though my next patch will eliminate it entirely. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 0783d6521f..f35aa09fef 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -315,14 +315,14 @@ private:
void EmitGlobalDefinition(const ValueDecl *D);
- /// EmitForwardFunctionDefinition - Create a new function for the
- /// given decl and set attributes as appropriate.
+ /// CreateFunctionPrototypeIR - Create a new LLVM IR Function for the given
+ /// decl and set attributes as appropriate.
///
/// \arg Ty - If non-null the LLVM function type to use for the
/// decl; it is the callers responsibility to make sure this is
/// compatible with the correct type.
- llvm::GlobalValue *EmitForwardFunctionDefinition(const FunctionDecl *D,
- const llvm::Type *Ty);
+ llvm::GlobalValue *CreateFunctionPrototypeIR(const FunctionDecl *D,
+ const llvm::Type *Ty);
void EmitGlobalFunctionDefinition(const FunctionDecl *D);
void EmitGlobalVarDefinition(const VarDecl *D);