aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-02-23 13:26:32 -0800
committerArthur Eubanks <aeubanks@google.com>2022-02-23 13:31:56 -0800
commit4cb24ef90a691489f22a36976a1b33acd65901fa (patch)
treecd51f1987d70e03b00319bed1deec1170371aff1 /clang/lib/CodeGen/CodeGenFunction.h
parent9a40f9f6814923a27ddeb439dd216d967de0d2d1 (diff)
downloadllvm-4cb24ef90a691489f22a36976a1b33acd65901fa.zip
llvm-4cb24ef90a691489f22a36976a1b33acd65901fa.tar.gz
llvm-4cb24ef90a691489f22a36976a1b33acd65901fa.tar.bz2
[clang] Remove Address::deprecated() from CGClass.cpp
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index f9932e4..5c8aef4 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2296,9 +2296,8 @@ public:
/// Derived is the presumed address of an object of type T after a
/// cast. If T is a polymorphic class type, emit a check that the virtual
/// table for Derived belongs to a class derived from T.
- void EmitVTablePtrCheckForCast(QualType T, llvm::Value *Derived,
- bool MayBeNull, CFITypeCheckKind TCK,
- SourceLocation Loc);
+ void EmitVTablePtrCheckForCast(QualType T, Address Derived, bool MayBeNull,
+ CFITypeCheckKind TCK, SourceLocation Loc);
/// EmitVTablePtrCheckForCall - Virtual method MD is being called via VTable.
/// If vptr CFI is enabled, emit a check that VTable is valid.