summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/PredicateExpander.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-07-01 23:02:10 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-07-01 23:02:10 +0000
commit35fdec1b54c6a8b1ca7bee542836abf29c75a85d (patch)
tree3e70c9a59136a37dde5b8474177f4f87e9e6a84c /llvm/utils/TableGen/PredicateExpander.cpp
parentf301096f51133b4f18c383deb9679f217c1ea08b (diff)
downloadbcm5719-llvm-35fdec1b54c6a8b1ca7bee542836abf29c75a85d.tar.gz
bcm5719-llvm-35fdec1b54c6a8b1ca7bee542836abf29c75a85d.zip
[analyzer] CStringChecker: Modernize to use CallDescriptions.
This patch uses the new CDF_MaybeBuiltin flag to handle C library functions. It's mostly an NFC/refactoring pass, but it does fix a bug in handling memset() when it expands to __builtin___memset_chk() because the latter has one more argument and memset() handling code was trying to match the exact number of arguments. Now the code is deduplicated and there's less room for mistakes. Differential Revision: https://reviews.llvm.org/D62557 llvm-svn: 364868
Diffstat (limited to 'llvm/utils/TableGen/PredicateExpander.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud