xazax.hun added inline comments.

================
Comment at: 
clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h:197
+  /// `Substitutions`, it will be substituted with the value it maps to.
+  BoolValue &buildAndSubstituteFlowCondition(
+      AtomicBoolValue &Token,
----------------
Could you elaborate on why do we need this? Why do we care about how flow 
condition constraints are represented? We should use the solver to ask 
questions and as far as I understand the solver should work with both 
representations. Also this function feels like doing two things, building the 
flow condition from the tokens and doing substitutions. Any reason why those 
two are not separate functions? Is this for performance reasons?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128363/new/

https://reviews.llvm.org/D128363

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to