- Mar 08, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 66391
-
Chris Lattner authored
llvm-svn: 66387
-
Steve Naroff authored
llvm-svn: 66385
-
Steve Naroff authored
Patch by Jean-Daniel Dupas. Thanks! llvm-svn: 66383
-
Chris Lattner authored
This prevents caret diagnostics from the scratch buffer from including other tokens in the scratch buffer that occurred beforei them. llvm-svn: 66375
-
Chris Lattner authored
end of line instead of just the end of buffer. Scratch buffers contain embedded \0's between tokens which are logic line separators. If a normal text buffer contains \0's, it doesn't make a lot of sense to include them in the caret diag output anyway. llvm-svn: 66374
-
Chris Lattner authored
\0's to created tokens instead of making all clients do it. No functionality change. llvm-svn: 66373
-
Chris Lattner authored
warning to only trigger when there is whitespace or something else after the + as suggested by Eli. llvm-svn: 66370
-
Anders Carlsson authored
llvm-svn: 66353
-
- Mar 07, 2009
-
-
Anders Carlsson authored
llvm-svn: 66349
-
Eli Friedman authored
This is a bit cleaner, and also "fixes" bad code that compares the addresses of the string constants. llvm-svn: 66346
-
Fariborz Jahanian authored
(objc abi specific). llvm-svn: 66345
-
Mike Stump authored
llvm-svn: 66344
-
Sanjiv Gupta authored
llvm-svn: 66343
-
Mike Stump authored
correct, but an extra set of ObjC eyes would be good. llvm-svn: 66342
-
Mike Stump authored
llvm-svn: 66341
-
Mike Stump authored
llvm-svn: 66337
-
Sebastian Redl authored
llvm-svn: 66335
-
Eli Friedman authored
difficult to come up with a testcase because the code generation for this construct is broken. llvm-svn: 66325
-
Mike Stump authored
on all the new code by default. There is still plenty of testing to do and issues I'm sure need resolving. Let me know if you find anything. llvm-svn: 66323
-
Mike Stump authored
llvm-svn: 66322
-
Eli Friedman authored
performance that the type of the returned llvm::Value for an expression matches the converted type of the clang::Expr; mismatches will cause all sorts of errors and silent miscompilations. llvm-svn: 66321
-
Mike Stump authored
llvm-svn: 66320
-
Mike Stump authored
llvm-svn: 66319
-
Ted Kremenek authored
llvm-svn: 66317
-
Ted Kremenek authored
llvm-svn: 66314
-
Ted Kremenek authored
- Make Selector::getAsIdentifierInfo() private. Using IdentifierInfo* in Selector is an implementation detail that clients shouldn't think about. - Modify diagnostic emission in Sema::ProcessPropertyDecl to not use Selector::getAsIdentifierInfo() (which could crash when IdentifierInfo* is null) and instead use Selector::getAsString(). - Tidy up Selector::getAsString() implementation. llvm-svn: 66313
-
Ted Kremenek authored
PathDiagnosticControlFlowPiece to distinguish (in the class hierarchy) between events and control-flow diagnostic pieces. Clients must now use these directly when constructing PathDiagnosticPieces. llvm-svn: 66310
-
Douglas Gregor authored
struct to an extension warning to match the behavior of GNU C, which addresses the Sema part of PR3671. llvm-svn: 66308
-
Ted Kremenek authored
llvm-svn: 66307
-
Douglas Gregor authored
Clean up some error messages with anonymous structs/unions and member declaration parsing. Fixes PR3680 llvm-svn: 66305
-
Douglas Gregor authored
Use the 'declaration does not declare anything' error when we see an anonymous struct/union declaration outside of a struct or union in C llvm-svn: 66303
-
Fariborz Jahanian authored
crash in ir-gen. llvm-svn: 66302
-
- Mar 06, 2009
-
-
Douglas Gregor authored
prototype of the same function, where the promoted parameter types in the K&R definition are not compatible with the types in the prototype. Fixes PR2821. llvm-svn: 66301
-
Daniel Dunbar authored
CodeGenModule::CreateRuntimeVariable. - No real functionality change; although we now assert on silly things like: -- int objc_exception_throw; void f0() { @throw(@"A"); } -- instead of accepting it. llvm-svn: 66292
-
Ted Kremenek authored
Start work on subclassing PathDiagnosticPiece to distinguish more between control-flow pieces, events, etc. llvm-svn: 66291
-
Daniel Dunbar authored
really use pack() instead. - <rdar://problem/6650243> clang warns about '#pragma pack(0)' llvm-svn: 66287
-
Douglas Gregor authored
llvm-svn: 66286
-
Mike Stump authored
llvm-svn: 66284
-
Douglas Gregor authored
C and C++. Fixes PR3688. llvm-svn: 66282
-