diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-01 00:06:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-01 00:06:55 +0000 |
commit | 75c649c96029a540466010525c36b5f20df25f2f (patch) | |
tree | d9b9fc3e50a54508a7806b51875f5b98bf04daae /clang/lib/CodeGen/CodeGenModule.h | |
parent | e4e78135acbd0b5c2840f687d4ad93a1c9335a12 (diff) | |
download | bcm5719-llvm-75c649c96029a540466010525c36b5f20df25f2f.tar.gz bcm5719-llvm-75c649c96029a540466010525c36b5f20df25f2f.zip |
Pass a GlobalDecl to SetCommonAttributes. NFC.
Part of D43900.
llvm-svn: 326392
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 19fbb22678c..29478c5ed89 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1188,7 +1188,7 @@ public: /// Objective-C method, function, global variable). /// /// NOTE: This should only be called for definitions. - void SetCommonAttributes(const Decl *D, llvm::GlobalValue *GV); + void SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV); /// Set attributes which must be preserved by an alias. This includes common /// attributes (i.e. it includes a call to SetCommonAttributes). |