- Aug 22, 2008
-
-
Zhongxing Xu authored
llvm-svn: 55144
-
- Aug 21, 2008
-
-
Daniel Dunbar authored
Updated ObjCProtocolDecl::protocol_iterator to match that of ObjCInterfaceDecl. llvm-svn: 55143
-
Ted Kremenek authored
Added --use-cc option to scan-build to allow the user to specify what compiler they want to use for code compilation. llvm-svn: 55142
-
Chris Lattner authored
"+=". llvm-svn: 55131
-
Steve Naroff authored
This fixes <rdar://problem/6163088> clang ObjC rewriter: @synchronized ([foo class]) {} does not cast properly. llvm-svn: 55118
-
Daniel Dunbar authored
lines as errors. llvm-svn: 55109
-
Daniel Dunbar authored
- Functional for simple cases but there are some glaring omissions (protocols, properties, and other language extensions). - The code needs a fair bit of cleaning. llvm-svn: 55108
-
Daniel Dunbar authored
Suppress count output from 'make test' on errors (used to generate result code). llvm-svn: 55107
-
Daniel Dunbar authored
scripts dir appear before the user path. - This is an attempt to pick up the right executables. We should probably be substituting the exact things we want for clang a la the LLVM test script. llvm-svn: 55105
-
Daniel Dunbar authored
directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
-
Daniel Dunbar authored
directory. - Also, return proper error code if testing fails. llvm-svn: 55103
-
Eli Friedman authored
llvm-svn: 55101
-
Eli Friedman authored
difference from generic x86 is the defines. The rest is non-trivial to implement. I'm not planning on adding any more targets myself; if there are any targets anyone is currently using that are missing, feel free to add them, or ask me to add them. This concludes the work I'm planning for the TargetInfo implementations at the moment; all the other issues with TargetInfo require some API changes, and I haven't really thought it through. Some of the remaining issues: allowing targets to define size_t and wchar_t properly, adding some sort of __builtin_type_info intrinsic so we can finish clang's limits.h and float.h and get rid of a massive number of macro definitions, allowing target-specific command-line options, allowing target-specific defaults for certain command-line options like -fms-extensions, exposing vector alignment outside of the description string, exposing endianness outside of the description string, allowing targets to expose special bit-field layout requirements, exposing some sort of custom hook for call generation in CodeGen, and adding CPU selection to control defines like __SSE__. llvm-svn: 55098
-
Eli Friedman authored
llvm-svn: 55095
-
Eli Friedman authored
This approach allows adding OS-specific targets/defines/etc. without completely breaking unknown subtargets. No new subtargets yet, although I plan to add x86-Linux soon. Others can add targets that they use as needed; adding a new subtarget takes very little code. Also does some fixups for description strings; a lot of them were unspecified. I think all the ones I added are correct, but they're unverified; corrections are welcome. llvm-svn: 55091
-
Eli Friedman authored
up somehow. This concludes the series of reorg patches for the target implementations. llvm-svn: 55086
-
Eli Friedman authored
llvm-svn: 55083
-
Eli Friedman authored
llvm-svn: 55082
-
- Aug 20, 2008
-
-
Daniel Dunbar authored
- Drop MethodAttrs parameter to ObjCMethodDecl - Call ProcessDeclAttributeList for interface & method decls. llvm-svn: 55068
-
Ted Kremenek authored
llvm-svn: 55066
-
Ted Kremenek authored
llvm-svn: 55065
-
Ted Kremenek authored
This patch moves some code in GRStateManager::RemoveDeadBindings() to EnvironmentManager::RemoveDeadBindings(). llvm-svn: 55064
-
Ted Kremenek authored
llvm-svn: 55060
-
Eli Friedman authored
llvm-svn: 55042
-
Eli Friedman authored
cleaned it up a bit, including fixing the definition of va_list; this shouldn't break anything, but anyone using Sparc should watch for regressions. llvm-svn: 55041
-
Daniel Dunbar authored
- UsualUnaryConversions takes an Expr *& and may modify its argument, this broke when it was refactored into Sema::CheckCastTypes. This meant that we were missing implicit casts in some places. - Seems pretty sad that this got through our tests. llvm-svn: 55039
-
Ted Kremenek authored
llvm-svn: 55038
-
Ted Kremenek authored
This fixes an ownership issue where FieldDecls could be owned both by an ObjCInterfaceDecl and a RecordDecl. llvm-svn: 55037
-
Eli Friedman authored
visible effects, but this will significantly reduce the amount of boilerplate code necessary to add subtargets. If this looks okay, I'll do the rest of the processors (PPC, Sparc, ARM) soon. llvm-svn: 55036
-
Eli Friedman authored
llvm-svn: 55032
-
Eli Friedman authored
llvm-svn: 55027
-
Daniel Dunbar authored
- Drop duplicate (and broken) code for sending messages. - Add EmitObjCProtocolExpr to CodeGenFunction. llvm-svn: 55024
-
Eli Friedman authored
heck it does on Darwin, but it's not part of POSIX, and the GNU version of find errors out on it. On a side note, there are a couple of new failures due to tests including OS X specific headers. llvm-svn: 55019
-
Ted Kremenek authored
llvm-svn: 55013
-
- Aug 19, 2008
-
-
Ted Kremenek authored
This patch extends BasicStoreManager::getInitialStore() to include code that symbolicates input variables. It also removes redundant handling of ImplicitParamDecl, since it is a subclass of VarDecl. llvm-svn: 54993
-
Steve Naroff authored
Fix crasher in RewriteObjC::RewriteObjCSynchronizedStmt(). Can't depend on the source locations of the sync expression (since it may have been rewritten. Fixes <rdar://problem/6156363> clang ObjC rewriter: rewriting attached file causes assertion failure: invalid FileID llvm-svn: 54986
-
Chris Lattner authored
llvm-svn: 54973
-
Ted Kremenek authored
llvm-svn: 54970
-
Chris Lattner authored
llvm-svn: 54967
-
Argyrios Kyrtzidis authored
Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr): Expr -> CastExpr -> ExplicitCastExpr -> ImplicitCastExpr llvm-svn: 54955
-