aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJonas Hahnfeld <jonas.hahnfeld@cern.ch>2023-08-02 15:52:23 +0200
committerJonas Hahnfeld <jonas.hahnfeld@cern.ch>2023-08-17 08:28:51 +0200
commit2f3fe3ed97bcf778d73eda5aae9f166810a4af02 (patch)
treeefa0e6b10929887643695cffa4aac775464e07f1 /clang/lib/CodeGen/CodeGenModule.h
parent28741a23c9fc5e9c9ba9cad8e71c3067544bcd66 (diff)
downloadllvm-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.h5
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();