summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-27 23:44:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-27 23:44:36 +0000
commit64393cfca022da671ea086b6fc497084cd062306 (patch)
treeddb0616ce9328bacdc9e1da9a083516420233547 /clang/lib/CodeGen/CodeGenModule.h
parent9bdd03f7da67b60a099237e4885c10d70ff30a7c (diff)
downloadbcm5719-llvm-64393cfca022da671ea086b6fc497084cd062306.tar.gz
bcm5719-llvm-64393cfca022da671ea086b6fc497084cd062306.zip
Pass a GlobalDecl to setFunctionDefinitionAttributes. NFC.
This just makes a followup patch easier to read. llvm-svn: 326265
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index c8b2d7880d7..40a9d932411 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/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);
OpenPOWER on IntegriCloud