diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-08 15:26:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-08 15:26:12 +0000 |
commit | e033c8c58c09f0cd18ad380612718508c92ef75a (patch) | |
tree | d0fddbbdab49faea82ed57339f1dbcef24d33749 /clang/lib/CodeGen/CodeGenModule.h | |
parent | f72791e464484116661f42ed4bffa07ed53df572 (diff) | |
download | bcm5719-llvm-e033c8c58c09f0cd18ad380612718508c92ef75a.tar.gz bcm5719-llvm-e033c8c58c09f0cd18ad380612718508c92ef75a.zip |
Cleanup setFunctionDefinitionAttributes.
Use more specific type, update comments and name style.
llvm-svn: 208328
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 38e85e62d1c..f601bfd4d6b 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1061,9 +1061,9 @@ private: void setNonAliasAttributes(const Decl *D, llvm::GlobalValue *GV); - /// SetFunctionDefinitionAttributes - Set attributes for a global definition. - void SetFunctionDefinitionAttributes(const FunctionDecl *D, - llvm::GlobalValue *GV); + /// Set attributes for a global definition. + void setFunctionDefinitionAttributes(const FunctionDecl *D, + llvm::Function *F); /// SetFunctionAttributes - Set function attributes for a function /// declaration. |