diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 00:06:01 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-28 00:06:01 +0000 |
commit | fa2fc906d2708be6e868e80fec4806f24dcd6f2b (patch) | |
tree | b1431f5d01c8761cbd5f0198554c1253ddfc5851 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 37254065ddd3d4a85450b04a2e7ba2b8ae4439fe (diff) | |
download | bcm5719-llvm-fa2fc906d2708be6e868e80fec4806f24dcd6f2b.tar.gz bcm5719-llvm-fa2fc906d2708be6e868e80fec4806f24dcd6f2b.zip |
Pass a GlobalDecl to setAliasAttributes. NFC.
This just makes a followup change easier to read.
llvm-svn: 326270
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 40a9d932411..85018caa428 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1197,7 +1197,7 @@ public: /// attributes (i.e. it includes a call to SetCommonAttributes). /// /// NOTE: This should only be called for definitions. - void setAliasAttributes(const Decl *D, llvm::GlobalValue *GV); + void setAliasAttributes(GlobalDecl GD, llvm::GlobalValue *GV); void addReplacement(StringRef Name, llvm::Constant *C); |