- Mar 30, 2012
-
-
Jim Grosbach authored
Make sure to treat immediates as unsigned when doing relative comparisons. rdar://11153621 llvm-svn: 153753
-
Douglas Gregor authored
the nested-name-specifier (e.g., because it is dependent), do not error even though we can't represent it in the AST at this point. This is a horrible, horrible hack. The actual feature we still need to implement (for C++98!) is covered by PR12292. However, we used to silently accept this code, so when we recently started rejecting it we caused some regressions (e.g., <rdar://problem/11147355>). This hack brings us back to the passable-but-not-good state we had previously. llvm-svn: 153752
-
Enrico Granata authored
Added some logging to STL synthetic children providers - this should help us catch problems; more logging might/will be added as needed llvm-svn: 153750
-
Rafael Espindola authored
caused the slowdown last time. llvm-svn: 153747
-
Benjamin Kramer authored
llvm-svn: 153741
-
Bill Wendling authored
llvm-svn: 153740
-
Hongbin Zheng authored
tests by simply typing "make -C tools/polly/test", like llvm's regression tests. llvm-svn: 153739
-
Hongbin Zheng authored
llvm-svn: 153738
-
James Molloy authored
Patch by Tim Northover! llvm-svn: 153737
-
Hongbin Zheng authored
Patched by Tsingray. llvm-svn: 153736
-
David Chisnall authored
llvm-svn: 153735
-
Hongbin Zheng authored
libraries to LD_LIBRARY_PATH. llvm-svn: 153734
-
John McCall authored
other things which might mess with the variable's type. llvm-svn: 153733
-
Craig Topper authored
Correctly check argument types for some vector macros in smmintrin.h. Put parentheses around uses of vector macro arguments. llvm-svn: 153732
-
Anna Zaks authored
Fixes a false positive (radar://11152419). The current solution of adding the info into 3 places is quite ugly. Pending a generic pointer escapes callback. llvm-svn: 153731
-
Anna Zaks authored
count. This is an optimization for "retry without inlining" option. Here, if we failed to inline a function due to reaching the basic block max count, we are going to store this information and not try to inline it again in the translation unit. This can be viewed as a function summary. On sqlite, with this optimization, we are 30% faster then before and cover 10% more basic blocks (partially because the number of times we reach timeout is decreased by 20%). llvm-svn: 153730
-
John McCall authored
The way we handle this implicitly removes the ability to use property l-values in this position, but that's really okay. llvm-svn: 153729
-
NAKAMURA Takumi authored
llvm-svn: 153728
-
Eric Christopher authored
is causing the gdb test failures on the bots. llvm-svn: 153727
-
Craig Topper authored
llvm-svn: 153726
-
John McCall authored
in ARC, under the usual reasoning limiting the use of __autoreleasing. llvm-svn: 153725
-
Craig Topper authored
llvm-svn: 153724
-
John McCall authored
the case that the variable already exists. Partly this is just protection against people making crazy declarations with custom asm labels or extern "C" names that intentionally collide with the manglings of such variables, but the main reason is that we can actually emit a static local variable twice with the requirement that it match up. There may be other cases with (e.g.) the various nested functions, but the main exemplar is with constructor variants, where we can be forced into double-emitting the function body under certain circumstances like (currently) the presence of virtual bases. llvm-svn: 153723
-
John McCall authored
inheritance. llvm-svn: 153722
-
Eli Friedman authored
llvm-svn: 153721
-
Eli Friedman authored
ConstStructBuilder: fix offset math for base classes so it works correctly in general. Found by inspection. llvm-svn: 153720
-
Sean Callanan authored
ValueObject, and make sure that ValueObjects that have null type names (because they have null types) also have null qualified type names. This avoids some potential crashes if ValueObject::GetQualifiedTypeName tries to get the name of their type by calling GetClangTypeImpl(). llvm-svn: 153718
-
Evan Cheng authored
ARM target should allow codegenprep to duplicate ret instructions to enable tailcall opt. rdar://11140249 llvm-svn: 153717
-
Eli Friedman authored
Make sure we perform the relevant implied conversions correctly for ObjC methods with related result types. PR12384. llvm-svn: 153716
-
Eric Christopher authored
llvm-svn: 153715
-
Eric Christopher authored
property file/line rather than the @synthesize file/line. Avoids some nasty confusing-ness with conflating the file from the scope and the line from the original declaration. Update a couple of testcases accordingly since I had to change that we actually use the passed in location in EmitFunctionStart. Fixes rdar://11026482 llvm-svn: 153714
-
rdar://problem/11082392Greg Clayton authored
Fixed an issue that could cause circular type parsing that will assert and kill LLDB. Prior to this fix the DWARF parser would always create class types and not start their definitions (for both C++ and ObjC classes) until we were asked to complete the class later. When we had cases like: class A { class B { }; }; We would alway try to complete A before specifying "A" as the decl context for B. Turns out we can just start the definition and still not complete the class since we can check the TagDecl::isCompleteDefinition() function. This only works for C++ types. This means we will not be pulling in the full definition of parent classes all the time and should help with our memory consumption and also reduce the amount of debug info we have to parse. I also reduced redundant code that was checking in a lldb::clang_type_t was a possible C++ dynamic type since it was still completing the type, just to see if it was dynamic. This was fixed in another function that was checking for a type being dynamic as an ObjC or a C++ type, but there was dedicated fucntion for C++ that we missed. llvm-svn: 153713
-
Enrico Granata authored
Fixing a whole class of crashers and potential crashers related to data formatters eating up all the stack when an unknown class has to be summarized ; this should make the whole Objective-C summaries more stable llvm-svn: 153712
-
Bill Wendling authored
llvm-svn: 153711
-
Bill Wendling authored
section. A 'normal' string will go into the __TEXT,__const section, but this isn't good for UTF16 strings. The __ustring section allows for coalescing, among other niceties (such as allowing the linker to easily split up strings). Instead of outputting the UTF16 string as a series of bytes, output it as a series of shorts. The back-end will then nicely place the UTF16 string into the correct section, because it's a mensch. <rdar://problem/10655949> llvm-svn: 153710
-
Argyrios Kyrtzidis authored
reference is going to message the setter, the getter, or both. Having this info on the ObjCPropertyRefExpr node makes it easier for AST clients (like libclang) to reason about the meaning of the property reference. [AST/Sema] -Use 2 bits (with a PointerIntPair) in ObjCPropertyRefExpr to record the above info -Have ObjCPropertyOpBuilder set the info appropriately. [libclang] -When there is an implicit property reference (property syntax using methods) have clang_getCursorReferenced return a cursor for the method. If the property reference is going to result in messaging both the getter and the setter choose to return a cursor for the setter because it is less obvious from source inspection that the setter is getting called. The general idea has the seal of approval by John. rdar://11151621 llvm-svn: 153709
-
Argyrios Kyrtzidis authored
its location the location of the property. Part of rdar://11113120 llvm-svn: 153708
-
Argyrios Kyrtzidis authored
-the location of the cursor -its extent -its spelling Part of radar://11113120 llvm-svn: 153707
-
Bill Wendling authored
llvm-svn: 153706
-
Bill Wendling authored
here but it has no other uses, then we have a problem. E.g., int foo (const int *x) { char a[*x]; return 0; } If we assign 'a' a vreg and fast isel later on has to use the selection DAG isel, it will want to copy the value to the vreg. However, there are no uses, which goes counter to what selection DAG isel expects. <rdar://problem/11134152> llvm-svn: 153705
-