aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/TargetParserTest.cpp
diff options
context:
space:
mode:
authorCJ Johnson <johnsoncj@google.com>2021-11-30 18:17:24 -0500
committerCJ Johnson <johnsoncj@google.com>2022-01-12 17:04:44 -0500
commit81c330e23dd4a14736b977e246bdca25be9b5770 (patch)
treefcd21e8cf76df472491f848f46b79b4f72c90880 /llvm/unittests/Support/TargetParserTest.cpp
parent6983968e833b03e8a25eba4d2a02e4d1b5d446a2 (diff)
downloadllvm-81c330e23dd4a14736b977e246bdca25be9b5770.zip
llvm-81c330e23dd4a14736b977e246bdca25be9b5770.tar.gz
llvm-81c330e23dd4a14736b977e246bdca25be9b5770.tar.bz2
Filter string_view from the nullptr diagnosis of bugprone-string-constructor to prevent duplicate warnings with bugprone-stringview-nullptr
Updates the check and tests to not diagnose the null case for string_view (but retains it for string). This prevents the check from giving duplicate warnings that are caught by bugprone-stringview-nullptr ([[ https://reviews.llvm.org/D113148 | D113148 ]]). Reviewed By: ymandel Differential Revision: https://reviews.llvm.org/D114823
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions