llvm-project/clang/lib
Anton Yartsev 8a88b90817 [analyzer] Fix for PR23790 : constrain return value of strcmp() rather than returning a concrete value.
The function strcmp() can return any value, not just {-1,0,1} : "The strcmp(const char *s1, const char *s2) function returns an integer greater than, equal to, or less than zero, accordingly as the string pointed to by s1 is greater than, equal to, or less than the string pointed to by s2." [C11 7.24.4.2p3]
https://llvm.org/bugs/show_bug.cgi?id=23790
http://reviews.llvm.org/D16317

llvm-svn: 270154
2016-05-19 23:03:49 +00:00
..
ARCMigrate Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-10 19:11:58 +00:00
AST [MS ABI] Ignore transparent contexts when determining the effective context 2016-05-19 18:15:53 +00:00
ASTMatchers [ASTMatcher] Add a node matcher for UnresolvedLookupExpr. 2016-05-18 12:53:59 +00:00
Analysis Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Basic [CUDA] Allow sm_50,52,53 GPUs 2016-05-19 17:47:47 +00:00
CodeGen [CUDA] Implement __ldg using intrinsics. 2016-05-19 22:49:13 +00:00
Driver [CUDA] Allow sm_50,52,53 GPUs 2016-05-19 17:47:47 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format clang-format: [JS] Fix spacing in destructuring assignments. 2016-05-19 07:18:07 +00:00
Frontend [CUDA] Enable fusing FP ops (-ffp-contract=fast) for CUDA by default. 2016-05-19 18:44:45 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [CUDA] Implement __ldg using intrinsics. 2016-05-19 22:49:13 +00:00
Index Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Lex NFC: simplify logic. 2016-05-17 18:04:38 +00:00
Parse Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform 2016-05-19 01:39:10 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [Sema] Fix use after move. Found by ubsan. 2016-05-19 21:53:33 +00:00
Serialization PR27754: CXXRecordDecl::data() needs to perform an update even if it's called 2016-05-17 22:44:15 +00:00
StaticAnalyzer [analyzer] Fix for PR23790 : constrain return value of strcmp() rather than returning a concrete value. 2016-05-19 23:03:49 +00:00
Tooling [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00