[all-commits] [llvm/llvm-project] 273e67: [analyzer] Add support for namespaces to GenericTa...
Borsik Gábor via All-commits
all-commits at lists.llvm.org
Sun Dec 15 03:28:02 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 273e67425243c74b33d24aa5b2c574877cc3e9bb
https://github.com/llvm/llvm-project/commit/273e67425243c74b33d24aa5b2c574877cc3e9bb
Author: Borsik Gabor <gabor.borsik at gmail.com>
Date: 2019-12-15 (Sun, 15 Dec 2019)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/test/Analysis/Inputs/taint-generic-config.yaml
A clang/test/Analysis/taint-generic.cpp
Log Message:
-----------
[analyzer] Add support for namespaces to GenericTaintChecker
This patch introduces the namespaces for the configured functions and
also enables the use of the member functions.
I added an optional Scope field for every configured function. Functions
without Scope match for every function regardless of the namespace.
Functions with Scope will match if the full name of the function starts
with the Scope.
Multiple functions can exist with the same name.
Differential Revision: https://reviews.llvm.org/D70878
More information about the All-commits
mailing list