aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJoachim Meyer <joachim@joameyer.de>2020-12-17 16:06:56 +0100
committerJoachim Meyer <joachim@joameyer.de>2020-12-17 22:23:42 +0100
commitc755e41c336c898873db6c3c58a2819a982f60de (patch)
treeb9adafbfaa5bf029c59b543315dc6d448e682490 /clang/lib/CodeGen/CodeGenModule.cpp
parent6340f890bb86b6ec1e72047d4c4560ee0dfe6d90 (diff)
downloadllvm-c755e41c336c898873db6c3c58a2819a982f60de.zip
llvm-c755e41c336c898873db6c3c58a2819a982f60de.tar.gz
llvm-c755e41c336c898873db6c3c58a2819a982f60de.tar.bz2
Fix -Wno-error= parsing in clang-format.
As noted in https://reviews.llvm.org/D86137#2460135 parsing of the clang-format parameter -Wno-error=unknown fails. This currently is done by having `-Wno-error=unknown` as an option. In this patch this is changed to make `-Wno-error=` parse an enum into a bit set. This way the parsing is fixed and also we can possibly add new options easily. Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D93459
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions