[all-commits] [llvm/llvm-project] e1fdec: [analyzer] Add std::string checker
Manas via All-commits
all-commits at lists.llvm.org
Mon Oct 25 02:16:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1fdec875ff13504057fa01227458c9afa08222f
https://github.com/llvm/llvm-project/commit/e1fdec875ff13504057fa01227458c9afa08222f
Author: Balazs Benics <balazs.benics at sigmatechnology.se>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
A clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp
M clang/test/Analysis/Inputs/system-header-simulator-cxx.h
M clang/test/Analysis/diagnostics/explicit-suppression.cpp
A clang/test/Analysis/std-string.cpp
Log Message:
-----------
[analyzer] Add std::string checker
This patch adds a checker checking `std::string` operations.
At first, it only checks the `std::string` single `const char *`
constructor for nullness.
If It might be `null`, it will constrain it to non-null and place a note
tag there.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D111247
Commit: caeef1995ab47387fa8da3e958afc5637b4e893d
https://github.com/llvm/llvm-project/commit/caeef1995ab47387fa8da3e958afc5637b4e893d
Author: Manas <manas18244 at iiitd.ac.in>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M clang/utils/analyzer/entrypoint.py
Log Message:
-----------
[analyzer] Allow cmake options to be passed to satest container
This patch selects all cmake options and passes them to global cmake
command while building LLVM inside satest docker container.
Prior to this, the cmake command was hard-coded and this would consume
a huge amount of memory while building. There was no support to pass
extra cmake options for the build, except for changing the command
manually. This patch allows testers to pass all "-D*" cmake options to
the build.
Reviewed By: vsavchenko
Differential Revision: https://reviews.llvm.org/D105447
Patch by: @manas (Manas Gupta)
Compare: https://github.com/llvm/llvm-project/compare/1397c56d7ae8...caeef1995ab4
More information about the All-commits
mailing list