SuccessChanges

Summary

  1. [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 3 (details)
  2. [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 4 (details)
  3. IRTranslator - silence static analyzer null dereference warnings. NFCI. (details)
  4. BlockInCriticalSectionChecker - silence static analyzer dyn_cast null (details)
Commit b56989bcc7d722d97da4e808b05c736681478c9b by dabis.csaba98
[clang-tidy] bugprone-not-null-terminated-result: checker adjustments 3
On Windows the signed/unsigned int conversions of APInt seems broken, so
that two of the test files marked as unsupported on Windows, as a
hotfix.
llvm-svn: 374713
The file was modifiedclang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-wcslen.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c
Commit d2b790eb680520d39f07d45449a361da3bd83c65 by dabis.csaba98
[clang-tidy] bugprone-not-null-terminated-result: checker adjustments 4
llvm-svn: 374715
The file was modifiedclang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h
Commit 944a051ebbdd11117e6afaed86f01165f56f3ba9 by llvm-dev
IRTranslator - silence static analyzer null dereference warnings. NFCI.
The CmpInst::getType() calls can be replaced by just using
User::getType() that it was dyn_cast from, and we then need to assert
that any default predicate cases came from the CmpInst.
llvm-svn: 374716
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit 2c775709f6c23c691969cc900535b4ce339668c5 by llvm-dev
BlockInCriticalSectionChecker - silence static analyzer dyn_cast null
dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 374717
The file was modifiedclang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp