[clang] [dataflow] Add global condition to DataflowAnalysisContext (PR #65949)

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 06:00:33 PDT 2023


================
@@ -108,6 +108,16 @@ class DataflowAnalysisContext {
   /// A null `PointeeType` can be used for the pointee of `std::nullptr_t`.
   PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
 
+  /// Adds `Constraint` to current and future flow conditions in this context.
+  ///
+  /// The global condition must contain only flow-insensitive information, i.e.
----------------
sam-mccall wrote:

Invariant sounds good! Done

https://github.com/llvm/llvm-project/pull/65949


More information about the cfe-commits mailing list