diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 23:54:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 23:54:23 +0000 |
commit | 285271cb78f449f211bec34b4e954153feb0add9 (patch) | |
tree | 5a5c1f07ffbdf4bd0b4bd277a8a3aa4577b66115 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 12a4dc4c34890d7d158ac95a0fb3e63281e596a0 (diff) | |
download | bcm5719-llvm-285271cb78f449f211bec34b4e954153feb0add9.tar.gz bcm5719-llvm-285271cb78f449f211bec34b4e954153feb0add9.zip |
Pass a GlobalDecl to setNonAliasAttributes. NFC.
Also part of D43900.
llvm-svn: 326388
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 3baae9ef5b7..71b130b0be3 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1277,7 +1277,7 @@ private: bool GetCPUAndFeaturesAttributes(const Decl *D, llvm::AttrBuilder &AttrBuilder); - void setNonAliasAttributes(const Decl *D, llvm::GlobalObject *GO); + void setNonAliasAttributes(GlobalDecl GD, llvm::GlobalObject *GO); /// Set function attributes for a function declaration. void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, |