[clang] 9d5cfed - [dataflow] Remove [[deprecated]] from deprecated functions

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 05:35:54 PDT 2023


Author: Sam McCall
Date: 2023-07-07T14:35:29+02:00
New Revision: 9d5cfed2443aa294e67bea694d5aab02c40fa278

URL: https://github.com/llvm/llvm-project/commit/9d5cfed2443aa294e67bea694d5aab02c40fa278
DIFF: https://github.com/llvm/llvm-project/commit/9d5cfed2443aa294e67bea694d5aab02c40fa278.diff

LOG: [dataflow] Remove [[deprecated]] from deprecated functions

This fixes -Werror -Wdeprecated builds
See D153469

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 116373dce15c81..7c1d01ce816e2b 100644
--- a/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
+++ b/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
@@ -529,13 +529,13 @@ class Environment {
 
   /// Adds `Val` to the set of clauses that constitute the flow condition.
   void addToFlowCondition(const Formula &);
-  LLVM_DEPRECATED("Use Formula version instead", "")
+  /// Deprecated: Use Formula version instead.
   void addToFlowCondition(BoolValue &Val);
 
   /// Returns true if and only if the clauses that constitute the flow condition
   /// imply that `Val` is true.
   bool flowConditionImplies(const Formula &) const;
-  LLVM_DEPRECATED("Use Formula version instead", "")
+  /// Deprecated: Use Formula version instead.
   bool flowConditionImplies(BoolValue &Val) const;
 
   /// Returns the `DeclContext` of the block being analysed, if any. Otherwise,


        


More information about the cfe-commits mailing list