- 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
-
Chris Lattner authored
"+=". llvm-svn: 55131
-
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
-
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
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
-
Daniel Dunbar authored
- Drop duplicate (and broken) code for sending messages. - Add EmitObjCProtocolExpr to CodeGenFunction. llvm-svn: 55024
-
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
-
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
-
Chris Lattner authored
of pointers to them. rdar://4304469 llvm-svn: 54953
-
Argyrios Kyrtzidis authored
llvm-svn: 54952
-
- Aug 18, 2008
-
-
Daniel Dunbar authored
extension). llvm-svn: 54946
-
Chris Lattner authored
llvm-svn: 54943
-
Chris Lattner authored
no other functionality change. llvm-svn: 54941
-
Sanjiv Gupta authored
llvm-svn: 54914
-
- Aug 17, 2008
-
-
Chris Lattner authored
llvm-svn: 54874
-
Ted Kremenek authored
directly, but instead have GRStateManager manage it. llvm-svn: 54862
-
Ted Kremenek authored
Migrate GRState::ConstEqTy (map used from tracking constants for symbols) to use the generic data map instead. llvm-svn: 54860
-
Ted Kremenek authored
Added GRStateTrait.h, which includes boilerplate code for creating specializations of GRStateTrait<>. Modified GRStateTrait<ConstNotEq> in GRState to use the boilerplate in GRStateTrait<> for ImmutableMaps. llvm-svn: 54859
-
Nico Weber authored
llvm-svn: 54854
-
- Aug 16, 2008
-
-
Argyrios Kyrtzidis authored
Move the type checking that Sema::ActOnCastExpr does into a new Sema::CheckCastTypes function so that it can be reused. llvm-svn: 54852
-
Argyrios Kyrtzidis authored
llvm-svn: 54851
-
Argyrios Kyrtzidis authored
llvm-svn: 54850
-
Argyrios Kyrtzidis authored
No functionality change, this follows the convention of how postfix-expressions are handled. llvm-svn: 54849
-
Nick Lewycky authored
llvm-svn: 54848
-