commit | 318dd92ad834857ea5bb91de288c1eb56cdbec1a | [log] [tgz] |
---|---|---|
author | Lenny Maiorani <lenny@colorado.edu> | Tue Apr 12 17:08:43 2011 +0000 |
committer | Lenny Maiorani <lenny@colorado.edu> | Tue Apr 12 17:08:43 2011 +0000 |
tree | 7cd0964513e7e99202a35600bfdec78774dce1d5 | |
parent | 627788c29976fbeb4ad47bcfcb3576889070e357 [diff] |
This patch adds modeling of strcmp() to the CString checker. Validates inputs are not NULL and are real C strings, then does the comparison and binds the proper return value. Unit tests included. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129364 91177308-0d34-0410-b5e6-96231b3b80d8