diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-21 08:38:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-21 08:38:50 +0000 |
commit | 5eaee5692cd499074b2eb064f42ea49e32b3e97d (patch) | |
tree | 703e5aa39a5492a650bf41b09a1508557de1f509 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 6574906818d4cf851525aabe415379aa7617f978 (diff) | |
download | bcm5719-llvm-5eaee5692cd499074b2eb064f42ea49e32b3e97d.tar.gz bcm5719-llvm-5eaee5692cd499074b2eb064f42ea49e32b3e97d.zip |
code cleanups, rename EmitForwardFunctionDefinition ->
CreateFunctionPrototypeIR, though my next patch will eliminate
it entirely.
llvm-svn: 67443
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 0783d6521f3..f35aa09fef8 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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); |