- Dec 04, 2010
-
-
Francois Pichet authored
More anonymous struct/union redesign. This one deals with anonymous field used in a constructor initializer list: struct X { X() : au_i1(123) {} union { int au_i1; float au_f1; }; }; clang will now deal with au_i1 explicitly as an IndirectFieldDecl. llvm-svn: 120900
-
John McCall authored
llvm-svn: 120899
-
John McCall authored
Abramo noticed this. llvm-svn: 120898
-
Benjamin Kramer authored
llvm-svn: 120897
-
John McCall authored
be required, and then fix up some missing loads on overloaded-operator paths which that exposed. llvm-svn: 120896
-
John McCall authored
the type of the expression *after* array/function decay. llvm-svn: 120895
-
John McCall authored
llvm-svn: 120894
-
John McCall authored
block line. llvm-svn: 120893
-
Bob Wilson authored
Check for that and try narrowing it to tADDspi instead. Radar 8724703. llvm-svn: 120892
-
Bob Wilson authored
llvm-svn: 120891
-
John McCall authored
not actually frequently used, because ImpCastExprToType only creates a node if the types differ. So explicitly create an ICE in the lvalue-to-rvalue conversion code in DefaultFunctionArrayLvalueConversion() as well as several other new places, and consistently deal with the consequences throughout the compiler. In addition, introduce a new cast kind for loading an ObjCProperty l-value, and make sure we emit those nodes whenever an ObjCProperty l-value appears that's not on the LHS of an assignment operator. This breaks a couple of rewriter tests, which I've x-failed until future development occurs on the rewriter. Ted Kremenek kindly contributed the analyzer workarounds in this patch. llvm-svn: 120890
-
Rafael Espindola authored
foo = a - b .long foo instead of just .long a - b First, on darwin9 64 bits the assembler produces the wrong result. Second, if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not consider a - b to be a constant but will if the dummy foo is created. Split how we handle these cases. The first one is something MC should take care of. The second one has to be handled by the caller. llvm-svn: 120889
-
Michael J. Spencer authored
llvm-svn: 120888
-
John McCall authored
Also, move the l-value emission code into CGObjC.cpp and teach it, for completeness, to store away self for a super send. Also, inline the super cases for property gets and sets and make them use the correct result type for implicit getter/setter calls. llvm-svn: 120887
-
Greg Clayton authored
llvm-svn: 120886
-
Greg Clayton authored
do. Closing on EOF is an option that can be set on the lldb_private::Communication or the lldb::SBCommunication objects after they are created. Of course the EOF support isn't hooked up, so they don't do anything at the moment, but they are left in so when the code is fixed, it will be easy to get working again. llvm-svn: 120885
-
John McCall authored
the l-value. llvm-svn: 120884
-
Greg Clayton authored
llvm-svn: 120883
-
Peter Collingbourne authored
llvm-svn: 120882
-
Peter Collingbourne authored
llvm-svn: 120881
-
Peter Collingbourne authored
llvm-svn: 120880
-
Peter Collingbourne authored
llvm-svn: 120879
-
Peter Collingbourne authored
llvm-svn: 120878
-
Peter Collingbourne authored
llvm-svn: 120877
-
Peter Collingbourne authored
llvm-svn: 120876
-
Peter Collingbourne authored
llvm-svn: 120875
-
Peter Collingbourne authored
This patch refactors the CompilerInvocation code to introduce a CompilerInvocation::setLangDefaults function, which can set up a LangOptions with the defaults for a given language and language standard. This function is useful for non-command line based Clang clients which need to set up a CompilerInvocation manually for a specific language. llvm-svn: 120874
-
Argyrios Kyrtzidis authored
llvm-svn: 120873
-
-
Johnny Chen authored
which tests the recently added lldb feature of automatically passing the host environment variables to the launched process. llvm-svn: 120871
-
Michael J. Spencer authored
llvm-svn: 120870
-
Michael J. Spencer authored
llvm-svn: 120869
-
Michael J. Spencer authored
llvm-svn: 120868
-
Michael J. Spencer authored
llvm-svn: 120867
-
Rafael Espindola authored
doing that if the target is darwin10 or newer. This fixes *) Direct object emission was producing objects without the workaround on darwin9. *) Assembly printing was producing objects with the workaround on linux. llvm-svn: 120866
-
Jim Grosbach authored
llvm-svn: 120865
-
Greg Clayton authored
llvm-svn: 120864
-
Greg Clayton authored
llvm-svn: 120863
-
Greg Clayton authored
was done as an settings variable in the process for now. We will eventually move all environment stuff over to the target, but we will leave it with the process for now. The default setting is for a process to inherit the host environment. This can be disabled by setting the "inherit-env" setting to false in the process. llvm-svn: 120862
-
Johnny Chen authored
llvm-svn: 120861
-