diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 23:46:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 23:46:35 +0000 |
commit | 51ec5a9ce35ac7dcb8c88d4cdfff100d86e72457 (patch) | |
tree | a7301c18e9374cf2b39a09c53706344ed8f6b9a0 /clang/lib/CodeGen/CodeGenModule.h | |
parent | cb6d32034514bcdd152a95684ed309149f06070d (diff) | |
download | bcm5719-llvm-51ec5a9ce35ac7dcb8c88d4cdfff100d86e72457.tar.gz bcm5719-llvm-51ec5a9ce35ac7dcb8c88d4cdfff100d86e72457.zip |
Pass a GlobalDecl to SetInternalFunctionAttributes. NFC.
This just reduces the noise in a followup patch.
Part of D43900.
llvm-svn: 326385
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 85018caa428..3baae9ef5b7 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1017,7 +1017,7 @@ public: /// Set the attributes on the LLVM function for the given decl and function /// info. This applies attributes necessary for handling the ABI as well as /// user specified attributes like section. - void SetInternalFunctionAttributes(const Decl *D, llvm::Function *F, + void SetInternalFunctionAttributes(GlobalDecl GD, llvm::Function *F, const CGFunctionInfo &FI); /// Set the LLVM function attributes (sext, zext, etc). |