- Sep 19, 2008
-
-
Ted Kremenek authored
llvm-svn: 56317
-
- Sep 18, 2008
-
-
Ted Kremenek authored
Analysis option -warn-objc-nserror-methods is no longer available. (check is done automatically with -checker-cfref) llvm-svn: 56313
-
Ted Kremenek authored
Change implementation of NSError** coding-style check to be invoked at the end of the retain/release analysis. llvm-svn: 56312
-
Steve Naroff authored
Also added a couple simple tests from the "gcc.apple" test suite. llvm-svn: 56309
-
Steve Naroff authored
Also tweaked the create function to take an explicit output file. llvm-svn: 56305
-
Ted Kremenek authored
llvm-svn: 56298
-
Ted Kremenek authored
"Method accepting NSError** argument should have non-void return value to indicate that an error occurred." Test case written, but the header needs to be delta-debugged reduced. Will commit shortly. llvm-svn: 56297
-
Ted Kremenek authored
llvm-svn: 56295
-
Ted Kremenek authored
llvm-svn: 56294
-
- Sep 17, 2008
-
-
Daniel Dunbar authored
- Enables use of ABIArgInfo::Expand when needed. This greatly improves our x86 ABI compatibility. - As the infrastructure for target specific ABI handling isn't built yet, this change means ABI compatibility on other platforms is once again broken in a different way than before. - Upcoming: Figure out how to refactor ABI handling into targets. More documentation. llvm-svn: 56293
-
Daniel Dunbar authored
llvm-svn: 56291
-
Daniel Dunbar authored
Ensure that ABIArgInfo::Default implementation for aggregrate types is sensible (StructRet on return and ByVal on arguments). No functionality change. llvm-svn: 56289
-
Steve Naroff authored
Block literals are now represented by the concrete BlockExpr class. This is cleanup (removes a FIXME). No functionality change. llvm-svn: 56288
-
Daniel Dunbar authored
llvm-svn: 56285
-
-
Ted Kremenek authored
llvm-svn: 56274
-
Zhongxing Xu authored
llvm-svn: 56271
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 56269
-
Steve Naroff authored
llvm-svn: 56266
-
Daniel Dunbar authored
llvm-svn: 56262
-
Ted Kremenek authored
llvm-svn: 56261
-
Ted Kremenek authored
if we know that 'len != 0' and know that 'i == 0' then we know that 'i < len' must evaluate to true and cannot evaluate to false llvm-svn: 56260
-
Ted Kremenek authored
llvm-svn: 56259
-
Steve Naroff authored
^(expression) or ^(int arg1, float arg2)(expression) ...is no longer supported. All block literals now require a compound statement. llvm-svn: 56257
-
Steve Naroff authored
Sema::CheckReturnStackAddr(): Make sure we skip over implicit casts. Added some more test cases... llvm-svn: 56254
-
- Sep 16, 2008
-
-
Ted Kremenek authored
motivated because it became clear that the number of subclasses of ProgramPoint would expand and we ran out of bits to represent a pointer variant. As a plus of this change, BlockEdge program points can now be represented explicitly without using a cache of CFGBlock* pairs in CFG. llvm-svn: 56245
-
Zhongxing Xu authored
llvm-svn: 56242
-
- Sep 13, 2008
-
-
Ted Kremenek authored
"Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch covers the AST library, but ignores Analysis lib." llvm-svn: 56185
-
Ted Kremenek authored
llvm-svn: 56177
-
Ted Kremenek authored
llvm-svn: 56173
-
- Sep 12, 2008
-
-
Daniel Dunbar authored
- llvmc2, save me! llvm-svn: 56169
-
Daniel Dunbar authored
have no mapping to FILE*). We are also missing printf format attributes for the printf style ones. llvm-svn: 56168
-
Daniel Dunbar authored
llvm-svn: 56167
-
Ted Kremenek authored
llvm-svn: 56166
-
Daniel Dunbar authored
llvm-svn: 56164
-
Daniel Dunbar authored
- For investigating warnings in system headers / builtins. - Currently also enables the behavior that allows silent redefinition of types in system headers. Conceptually these are separate but I didn't feel it was worth two options (or changing LangOptions). llvm-svn: 56163
-
Ted Kremenek authored
llvm-svn: 56142
-
Douglas Gregor authored
Give string literals const element typesin C++, and cope with the deprecated C++ conversion from a string literal to a pointer-to-non-const-character llvm-svn: 56137
-
Daniel Dunbar authored
- Follow C99 behavior of using other operand type when one of operands is a null pointer constant. - Fix overenthusiastic devolving of any Objective-C types to id: o If either operand has an Objective-C object type then: - If both operands are interfaces and either operand can be assigned to the other, use that type as the composite type. - Otherwise, if either type is id, use id as the composite type. - Otherwise, warn about incompatible types and use id as the composite type. - Return handling of qualified idea to separate test following general pointer type checking. o Upgraded from old code to allow devolving to id (without warning, which matches GCC). - <rdar://problem/6212771> Add test case for issues fixed above, XFAIL though because it exposed a new issue in property handling. llvm-svn: 56135
-
Argyrios Kyrtzidis authored
Add comments about C++ clause 3.3.2p4 that mentions that the condition declaration should be local to an if/switch/while/for statement. llvm-svn: 56134
-