[clang][dataflow] Refactor ApplyBuiltinTransfer field out into DataflowAnalysisOption...
authorSam Estep <sam@samestep.com>
Fri, 22 Jul 2022 15:15:46 +0000 (15:15 +0000)
committerSam Estep <sam@samestep.com>
Fri, 22 Jul 2022 15:16:29 +0000 (15:16 +0000)
commitaed1ab8cabac64b59338f5ebadd12a371cb2ee5d
tree1bb226a4723becbe1d697f95f6dd2a3f6a457910
parent661577b5f40bb05534869b9635315e9265c37417
[clang][dataflow] Refactor ApplyBuiltinTransfer field out into DataflowAnalysisOptions struct

Depends On D130304

This patch pulls the `ApplyBuiltinTransfer` from the `TypeErasedDataflowAnalysis` class into a new `DataflowAnalysisOptions` struct, to allow us to add additional options later without breaking existing code.

Reviewed By: gribozavr2, sgatev

Differential Revision: https://reviews.llvm.org/D130305
clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
clang/include/clang/Analysis/FlowSensitive/NoopAnalysis.h
clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h