diff options
author | RVP <riyaz@synopsys.com> | 2022-02-08 16:06:53 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2022-02-09 09:46:46 +0100 |
commit | 62e4a77746f4f6dd810f49644fd1f6cebda2235f (patch) | |
tree | 90e205c3bf5949a207a0d95ce4147073ab8c29a6 /clang/tools/include-mapping/cppreference_parser.py | |
parent | fda29264f360820859587acdfb0ad9392c944bd6 (diff) | |
download | llvm-62e4a77746f4f6dd810f49644fd1f6cebda2235f.zip llvm-62e4a77746f4f6dd810f49644fd1f6cebda2235f.tar.gz llvm-62e4a77746f4f6dd810f49644fd1f6cebda2235f.tar.bz2 |
[Support] Fix for two issues with clearing of the internal storage for cl::bits
This patch fixes two issues with clearing of the internal storage for cl::bits
1. The internal bits storage for cl::bits is uninitialized. This is a problem if a cl::bits option is not defined with static lifetime.
2. ResetAllOptionOccurrences does not reset cl::bits options.
The latter is also discussed in:
https://lists.llvm.org/pipermail/llvm-dev/2021-February/148299.html
Differential Revision: https://reviews.llvm.org/D119066
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions