Skip to content

Commit 8c1a519

Browse files
committed
[clang][dataflow] Remove deprecated Strict accessors.
Reviewed By: ymandel, xazax.hun Differential Revision: https://reviews.llvm.org/D156790
1 parent fdbe931 commit 8c1a519

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,6 @@ class Environment {
276276
/// `E` must be a glvalue or a `BuiltinType::BuiltinFn`
277277
void setStorageLocation(const Expr &E, StorageLocation &Loc);
278278

279-
/// Deprecated synonym for `setStorageLocation()`.
280-
void setStorageLocationStrict(const Expr &E, StorageLocation &Loc) {
281-
setStorageLocation(E, Loc);
282-
}
283-
284279
/// Returns the storage location assigned to the glvalue `E` in the
285280
/// environment, or null if `E` isn't assigned a storage location in the
286281
/// environment.
@@ -292,11 +287,6 @@ class Environment {
292287
/// `E` must be a glvalue or a `BuiltinType::BuiltinFn`
293288
StorageLocation *getStorageLocation(const Expr &E) const;
294289

295-
/// Deprecated synonym for `getStorageLocation()`.
296-
StorageLocation *getStorageLocationStrict(const Expr &E) const {
297-
return getStorageLocation(E);
298-
}
299-
300290
/// Returns the storage location assigned to the `this` pointee in the
301291
/// environment or null if the `this` pointee has no assigned storage location
302292
/// in the environment.
@@ -454,9 +444,6 @@ class Environment {
454444
/// `StructValue` has a durable storage location.
455445
void setValue(const Expr &E, Value &Val);
456446

457-
/// Deprecated synonym for `setValue()`.
458-
void setValueStrict(const Expr &E, Value &Val) { setValue(E, Val); }
459-
460447
/// Returns the value assigned to `Loc` in the environment or null if `Loc`
461448
/// isn't assigned a value in the environment.
462449
Value *getValue(const StorageLocation &Loc) const;

0 commit comments

Comments
 (0)