Author: Martin Braenne Date: 2023-08-01T20:07:00Z New Revision: 8c1a519ee423f4097092095a44ba850bf0dd498d
URL: https://github.com/llvm/llvm-project/commit/8c1a519ee423f4097092095a44ba850bf0dd498d DIFF: https://github.com/llvm/llvm-project/commit/8c1a519ee423f4097092095a44ba850bf0dd498d.diff LOG: [clang][dataflow] Remove deprecated `Strict` accessors. Reviewed By: ymandel, xazax.hun Differential Revision: https://reviews.llvm.org/D156790 Added: Modified: clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h Removed: ################################################################################ diff --git a/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h b/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h index 0e5cfad263c797..7ac2ff3102adcd 100644 --- a/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h +++ b/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h @@ -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. @@ -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. @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits