File tree Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -316,17 +316,6 @@ class LLVMContext {
316
316
// / LLVMContext is used by compilation.
317
317
void setOptPassGate (OptPassGate&);
318
318
319
- // / Set whether opaque pointers are enabled. The method may be called multiple
320
- // / times, but only with the same value. Note that creating a pointer type or
321
- // / otherwise querying the opaque pointer mode performs an implicit set to
322
- // / the default value.
323
- [[deprecated(" Opaque pointers are always enabled" )]]
324
- void setOpaquePointers (bool Enable) const ;
325
-
326
- // / Whether typed pointers are supported. If false, all pointers are opaque.
327
- [[deprecated(" Always returns false" )]]
328
- bool supportsTypedPointers () const ;
329
-
330
319
// / Get or set the current "default" target CPU (target-cpu function
331
320
// / attribute). The intent is that compiler frontends will set this to a value
332
321
// / that reflects the attribute that a function would get "by default" without
Original file line number Diff line number Diff line change @@ -250,10 +250,6 @@ class Type {
250
250
// / True if this is an instance of PointerType.
251
251
bool isPointerTy () const { return getTypeID () == PointerTyID; }
252
252
253
- // / True if this is an instance of an opaque PointerType.
254
- LLVM_DEPRECATED (" Use isPointerTy() instead" , " isPointerTy" )
255
- bool isOpaquePointerTy () const { return isPointerTy (); };
256
-
257
253
// / Return true if this is a pointer type or a vector of pointer types.
258
254
bool isPtrOrPtrVectorTy () const { return getScalarType ()->isPointerTy (); }
259
255
@@ -406,14 +402,6 @@ class Type {
406
402
407
403
inline StringRef getTargetExtName () const ;
408
404
409
- // / Only use this method in code that is not reachable with opaque pointers,
410
- // / or part of deprecated methods that will be removed as part of the opaque
411
- // / pointers transition.
412
- [[deprecated(" Pointers no longer have element types" )]]
413
- Type *getNonOpaquePointerElementType () const {
414
- llvm_unreachable (" Pointers no longer have element types" );
415
- }
416
-
417
405
// / Given vector type, change the element type,
418
406
// / whilst keeping the old number of elements.
419
407
// / For non-vectors simply returns \p EltTy.
Original file line number Diff line number Diff line change @@ -377,14 +377,6 @@ std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() {
377
377
return std::move (pImpl->DiagHandler );
378
378
}
379
379
380
- void LLVMContext::setOpaquePointers (bool Enable) const {
381
- assert (Enable && " Cannot disable opaque pointers" );
382
- }
383
-
384
- bool LLVMContext::supportsTypedPointers () const {
385
- return false ;
386
- }
387
-
388
380
StringRef LLVMContext::getDefaultTargetCPU () {
389
381
return pImpl->DefaultTargetCPU ;
390
382
}
You can’t perform that action at this time.
0 commit comments