- 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
-
Ted Kremenek authored
to an output file. This way users can both see the output of 'clang' as well as enable background logging of files that clang encounters problems on. llvm-svn: 56130
-
- Sep 11, 2008
-
-
rdar://problem/6164367Ted Kremenek authored
scan-build now correctly processes path prefixes that contain multiple '+' characters or other regex control characters. llvm-svn: 56121
-
Mon P Wang authored
llvm-svn: 56114
-
Ted Kremenek authored
This fixes: <rdar://problem/6164279> scan-build gives error when invoked without TERM variable llvm-svn: 56110
-
Ted Kremenek authored
llvm-svn: 56109
-
rdar://problem/6210791Steve Naroff authored
Fix <rdar://problem/6210791> clang ObjC rewriter: @try / @catch block with no @finally does not call objc_exception_try_exit. Need a couple tweaks to RewriteObjCTryStmt(). Need to deal with implicit finally clauses (to make sure objc_exception_try_exit is called). Also fixed a related bug where we need to generate an implicit @catch else clause (to again make sure objc_exception_try_exit is called). llvm-svn: 56104
-
Douglas Gregor authored
llvm-svn: 56103
-
Anders Carlsson authored
llvm-svn: 56102
-
Anders Carlsson authored
llvm-svn: 56101
-
Anders Carlsson authored
llvm-svn: 56100
-
Argyrios Kyrtzidis authored
llvm-svn: 56096
-
Argyrios Kyrtzidis authored
llvm-svn: 56095
-
Argyrios Kyrtzidis authored
llvm-svn: 56094
-
Argyrios Kyrtzidis authored
llvm-svn: 56093
-
Argyrios Kyrtzidis authored
llvm-svn: 56092
-
Argyrios Kyrtzidis authored
llvm-svn: 56090
-
Douglas Gregor authored
llvm-svn: 56089
-
Daniel Dunbar authored
value). - Added ABIArgInfo::ByVal (mostly supported) and ABIArgInfo::Expand (asserted out). - Added classifyArgumentType which currently just uses ABIArgInfo::Default or ByVal. This nearly matches old behavior, but we now set ByVal in a few situations we may have left it off before (on complex, for example). llvm-svn: 56086
-
Daniel Dunbar authored
(1) Additional arguments to variadic methods should have default promotions applied. (2) Additional arguments to non-variadic methods were allowed. llvm-svn: 56084
-
Daniel Dunbar authored
llvm-svn: 56083
-
Argyrios Kyrtzidis authored
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-September/002721.html llvm-svn: 56081
-
Daniel Dunbar authored
no method declaration was found. - This was allowing arrays to pass "by value" among other things. Add assert in CodeGen that arguments cannot have array type. llvm-svn: 56080
-
Daniel Dunbar authored
CheckMessageArgumentTypes. - No functionality change. llvm-svn: 56079
-
Argyrios Kyrtzidis authored
-Scoping in C99 works good for C++ too, remove the C++-specific comments. If someone thinks that the C++-specific comments are necessary for clarification, let me know and I'll put them back on. llvm-svn: 56078
-
Argyrios Kyrtzidis authored
llvm-svn: 56077
-
Daniel Dunbar authored
<rdar://problem/6211479> [sema] array type invalid for Obj-C property llvm-svn: 56075
-
- Sep 10, 2008
-
-
Steve Naroff authored
llvm-svn: 56064
-