diff options
author | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-08-02 15:52:23 +0200 |
---|---|---|
committer | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-08-17 08:28:51 +0200 |
commit | 2f3fe3ed97bcf778d73eda5aae9f166810a4af02 (patch) | |
tree | efa0e6b10929887643695cffa4aac775464e07f1 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 28741a23c9fc5e9c9ba9cad8e71c3067544bcd66 (diff) | |
download | llvm-2f3fe3ed97bcf778d73eda5aae9f166810a4af02.zip llvm-2f3fe3ed97bcf778d73eda5aae9f166810a4af02.tar.gz llvm-2f3fe3ed97bcf778d73eda5aae9f166810a4af02.tar.bz2 |
[CodeGen] Remove Constant arguments from linkage functions, NFCI.
This was unused since commit dd2362a8ba last year.
Differential Revision: https://reviews.llvm.org/D156891
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 601530a..ef90eac 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1314,12 +1314,11 @@ public: /// Returns LLVM linkage for a declarator. llvm::GlobalValue::LinkageTypes - getLLVMLinkageForDeclarator(const DeclaratorDecl *D, GVALinkage Linkage, - bool IsConstantVariable); + getLLVMLinkageForDeclarator(const DeclaratorDecl *D, GVALinkage Linkage); /// Returns LLVM linkage for a declarator. llvm::GlobalValue::LinkageTypes - getLLVMLinkageVarDefinition(const VarDecl *VD, bool IsConstant); + getLLVMLinkageVarDefinition(const VarDecl *VD); /// Emit all the global annotations. void EmitGlobalAnnotations(); |