aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-02-05 19:17:50 +0000
committerJames Y Knight <jyknight@google.com>2019-02-05 19:17:50 +0000
commit76f787424d45183efc0ee0a6e412324819ad5600 (patch)
tree02e9b0b2778cd85eb3aa890cbc0b72943ef14775 /clang/lib/CodeGen/CodeGenModule.h
parentb0afc69435659c417ba5e0af5d2c211a06bc9679 (diff)
downloadllvm-76f787424d45183efc0ee0a6e412324819ad5600.zip
llvm-76f787424d45183efc0ee0a6e412324819ad5600.tar.gz
llvm-76f787424d45183efc0ee0a6e412324819ad5600.tar.bz2
[opaque pointer types] More trivial changes to pass FunctionType to CallInst.
Change various functions to use FunctionCallee or Function*. Pass function type through __builtin_dump_struct's dumpRecord helper. llvm-svn: 353199
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 63afefc1..78858e2 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -511,10 +511,10 @@ private:
} Block;
/// void @llvm.lifetime.start(i64 %size, i8* nocapture <ptr>)
- llvm::Constant *LifetimeStartFn = nullptr;
+ llvm::Function *LifetimeStartFn = nullptr;
/// void @llvm.lifetime.end(i64 %size, i8* nocapture <ptr>)
- llvm::Constant *LifetimeEndFn = nullptr;
+ llvm::Function *LifetimeEndFn = nullptr;
GlobalDecl initializedGlobalDecl;
@@ -1023,8 +1023,8 @@ public:
///@}
- llvm::Constant *getLLVMLifetimeStartFn();
- llvm::Constant *getLLVMLifetimeEndFn();
+ llvm::Function *getLLVMLifetimeStartFn();
+ llvm::Function *getLLVMLifetimeEndFn();
// Make sure that this type is translated.
void UpdateCompletedType(const TagDecl *TD);