Skip to content

Commit

Permalink
[clang][dataflow] Remove deprecated Strict accessors.
Browse files Browse the repository at this point in the history
Reviewed By: ymandel, xazax.hun

Differential Revision: https://reviews.llvm.org/D156790
  • Loading branch information
martinboehme committed Aug 1, 2023
1 parent fdbe931 commit 8c1a519
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,6 @@ class Environment {
/// `E` must be a glvalue or a `BuiltinType::BuiltinFn`
void setStorageLocation(const Expr &E, StorageLocation &Loc);

/// Deprecated synonym for `setStorageLocation()`.
void setStorageLocationStrict(const Expr &E, StorageLocation &Loc) {
setStorageLocation(E, Loc);
}

/// Returns the storage location assigned to the glvalue `E` in the
/// environment, or null if `E` isn't assigned a storage location in the
/// environment.
Expand All @@ -292,11 +287,6 @@ class Environment {
/// `E` must be a glvalue or a `BuiltinType::BuiltinFn`
StorageLocation *getStorageLocation(const Expr &E) const;

/// Deprecated synonym for `getStorageLocation()`.
StorageLocation *getStorageLocationStrict(const Expr &E) const {
return getStorageLocation(E);
}

/// Returns the storage location assigned to the `this` pointee in the
/// environment or null if the `this` pointee has no assigned storage location
/// in the environment.
Expand Down Expand Up @@ -454,9 +444,6 @@ class Environment {
/// `StructValue` has a durable storage location.
void setValue(const Expr &E, Value &Val);

/// Deprecated synonym for `setValue()`.
void setValueStrict(const Expr &E, Value &Val) { setValue(E, Val); }

/// Returns the value assigned to `Loc` in the environment or null if `Loc`
/// isn't assigned a value in the environment.
Value *getValue(const StorageLocation &Loc) const;
Expand Down

0 comments on commit 8c1a519

Please sign in to comment.