- Mar 07, 2009
-
-
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
testing to to be sure it all works, we'll rip out all the unsupported code. llvm-svn: 66338
-
Mike Stump authored
llvm-svn: 66337
-
Sebastian Redl authored
llvm-svn: 66335
-
Sebastian Redl authored
llvm-svn: 66334
-
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
-
Daniel Dunbar authored
- Shaves off a few instructions on x86_64. One notable change: this intentionally stops setting the II->Entry field of IdentifierInfo's retrieved by the ExternalLookup method. This is to maintain the invariant that .getName() has a constant value for any given IdentifierInfo. IRgen currently relies on this; which is quite questionable but will be cleaned up in time. Apologies for the lack of a test case; there really isn't a good way to make one. As IRgen will eventually be fixed to not rely on this, we can survive without one. llvm-svn: 66316
-
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
llvm-svn: 66309
-
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
-
Ted Kremenek authored
llvm-svn: 66306
-
Douglas Gregor authored
Clean up some error messages with anonymous structs/unions and member declaration parsing. Fixes PR3680 llvm-svn: 66305
-
Ted Kremenek authored
llvm-svn: 66304
-
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
Usage: from clang/test, 'make -f ../utils/test/Makefile.multi' Pros: About 20% faster than the Makefile based version on my 8 core box (way faster on Windows I imagine, if it works). Cons: Needs some cleanup. Ctrl-C works quite poorly on Darwin; more Python's fault than mine. Future: Support config definitions so we can use this for running LLVM tests instead of dejagnu. Parallel testing goodness? Indeed. llvm-svn: 66293
-
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
-
Ted Kremenek authored
llvm-svn: 66290
-
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
-
Daniel Dunbar authored
llvm-svn: 66283
-
Douglas Gregor authored
C and C++. Fixes PR3688. llvm-svn: 66282
-
Daniel Dunbar authored
llvm-svn: 66281
-