aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CoverageMappingGen.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2021-03-04 19:23:56 +0000
committerMed Ismail Bennani <medismail.bennani@gmail.com>2021-03-04 20:24:26 +0100
commitc16fef19f6b002ba6ec7104d9f7dc44fef99ef57 (patch)
tree7f8f48e87bec50ee1a17c862b9cd565649222dca /clang/lib/CodeGen/CoverageMappingGen.cpp
parent1900503595cbb84a4c6e140a9ba1a2c574c0586d (diff)
downloadllvm-c16fef19f6b002ba6ec7104d9f7dc44fef99ef57.zip
llvm-c16fef19f6b002ba6ec7104d9f7dc44fef99ef57.tar.gz
llvm-c16fef19f6b002ba6ec7104d9f7dc44fef99ef57.tar.bz2
[lldb/Interpreter] Make OptionGroupPythonClassWithDict options non-required
When using `OptionGroupPythonClassWithDict` options in an `OptionGroup` with other `Options`, it can happen that the combinaison of some options of each group makes the command invalid. To solve that issue, this patch adds a bitmask argument to the `OptionGroupPythonClassWithDict` constuctor that is used to mark each option as required (or not). If the `required_options` bitmask isn't passed to the constructor, the class will keep its default behaviour, making the `--script-class` and `--python-function` required. rdar://65508855 Differential Revision: https://reviews.llvm.org/D97910 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions