diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-27 23:44:36 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-27 23:44:36 +0000 |
| commit | 2b2fa1f473785ebef59aa2c3a906b211ca87457c (patch) | |
| tree | ab0481e6512b25034f5a2ce7098fa9b1cacb385e /lib/CodeGen/CodeGenModule.h | |
| parent | a953b9005947e1b593b5842bb6950cc7ea971780 (diff) | |
| download | clang-2b2fa1f473785ebef59aa2c3a906b211ca87457c.tar.gz | |
Pass a GlobalDecl to setFunctionDefinitionAttributes. NFC.
This just makes a followup patch easier to read.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index c8b2d7880d..40a9d93241 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -1183,8 +1183,7 @@ public: bool TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D); /// Set attributes for a global definition. - void setFunctionDefinitionAttributes(const FunctionDecl *D, - llvm::Function *F); + void setFunctionDefinitionAttributes(GlobalDecl GD, llvm::Function *F); llvm::GlobalValue *GetGlobalValue(StringRef Ref); |
