- Jan 13, 2012
-
-
Eli Friedman authored
A base subobject type doesn't make sense for unions; don't try to compute it. Based on patch by Yin Ma. Fixes PR11751. llvm-svn: 148093
-
Jakob Stoklund Olesen authored
The code type was always identical to a string anyway. Now it is simply a synonym. The code literal syntax [{...}] is still valid. llvm-svn: 148092
-
Jakob Stoklund Olesen authored
This avoids a gazillion StringMap and dynamic_cast calls, making TableGen run 3x faster. llvm-svn: 148091
-
Eli Friedman authored
llvm-svn: 148090
-
Eli Friedman authored
A few minor improvements to error recovery trying to access member of a function. In particular, this restores the cool error recovery for the example from http://blog.llvm.org/2010/04/amazing-feats-of-clang-error-recovery.html , which regressed a few months back. llvm-svn: 148089
-
Richard Smith authored
incomplete return type. llvm-svn: 148088
-
Jim Ingham authored
Don't set breakpoints independently comp unit by comp unit, but look over all the file & line matches and only pick the "best" ones. <rdar://problem/10685990> llvm-svn: 148087
-
Evan Cheng authored
overly conservative. It was concerned about cases where it would prohibit folding simple [r, c] addressing modes. e.g. ldr r0, [r2] ldr r1, [r2, #4] => ldr r0, [r2], #4 ldr r1, [r2] Change the logic to look for such cases which allows it to form indexed memory ops more aggressively. rdar://10674430 llvm-svn: 148086
-
Kaelyn Uhrain authored
objects, and add a basic CorrectionCandidateCallback template class to simplify the fixups. llvm-svn: 148085
-
Douglas Gregor authored
llvm-svn: 148084
-
Howard Hinnant authored
Enclosed is a stress test for dynamic_cast. It stresses both libc++abi, and clang itself. It creates a ridiculously large class hierarchy using variadic templates. You can specify both the width and depth of the class hierarchy. And you can specify whether the cast is to the actual run time type, or to an intermediate layer in the class. About 1/3 of the time I compile this, it crashes the compiler. There seems to be an uninitialized area of memory, and I'm probably blowing past an assumption on class hierarchy size within clang (and understandably so). I can get it work most of the time with a class hierarchy width of 20 and a depth of 7. I'm making timings with both -O3 and -Os, using both cast to root and cast to intermediate, on both libc++abi, and gcc's dynamic_cast. I've put the results in a comment/table at the bottom of the test. llvm-svn: 148083
-
Douglas Gregor authored
requirement to headers under PrivateHeaders. We don't want to build them as part of the module (yet). llvm-svn: 148082
-
Anna Zaks authored
radar://10686991 llvm-svn: 148081
-
Anna Zaks authored
llvm-svn: 148080
-
Anna Zaks authored
looking up value at a CodeTextRegion even when the type is not provided. llvm-svn: 148079
-
Anna Zaks authored
llvm-svn: 148078
-
Bill Wendling authored
llvm-svn: 148077
-
Dan Gohman authored
the optimizer doesn't eliminate objc_retainBlock calls which are needed for their side effect of copying blocks onto the heap. This implements rdar://10361249. llvm-svn: 148076
-
Johnny Chen authored
llvm-svn: 148075
-
Fariborz Jahanian authored
inside a class implementation with parse errors. // rdar://10633434 llvm-svn: 148074
-
Johnny Chen authored
test_move_and_then_display_source (TestSourceManager.py) never works in LLDB test suite Forgot to svn ci the "hidden" directory. :-( llvm-svn: 148073
-
Richard Smith authored
- If the declarator is at the start of a line, and the previous line contained another declarator and ended with a comma, then that comma was probably a typo for a semicolon: int n = 0, m = 1, l = 2, // k = 5; myImportantFunctionCall(); // oops! - If removing the parentheses would correctly initialize the object, then produce a note suggesting that fix. - Otherwise, if there is a simple initializer we can suggest which performs value-initialization, then provide a note suggesting a correction to that initializer. Sema::Declarator now tracks the location of the comma prior to the declarator in the declaration, if there is one, to facilitate providing the note. The code to determine an appropriate initializer from the -Wuninitialized warning has been factored out to allow use in both that and -Wvexing-parse. llvm-svn: 148072
-
Johnny Chen authored
llvm-svn: 148071
-
Eli Friedman authored
Original message: Make sure adding a field to a struct never reduces its size. PR11745. llvm-svn: 148070
-
-
Eli Friedman authored
llvm-svn: 148068
-
Pete Cooper authored
llvm-svn: 148067
-
Johnny Chen authored
Need a test case that tests DWARF with .o in .a files test/functionalities/archives: Produces libfoo.a from a.o and b.o. Test breaking inside functions defined inside the libfoo.a BSD Archive. test/make/makefile.rules: Some additional rules to sepcify archive building. For example: ARCHIVE_NAME := libfoo.a ARCHIVE_C_SOURCES := a.c b.c llvm-svn: 148066
-
Bill Wendling authored
llvm-svn: 148065
-
Bill Wendling authored
The registers are placed into the saved registers list in the reverse order, which is why the original loop was written to loop backwards. llvm-svn: 148064
-
- Jan 12, 2012
-
-
Jim Ingham authored
Discriminate between the lldb_private::Type's for ObjC Classes that come from debug info, and those that are made up from the ObjC runtime symbols. For now the latter contain nothing but the fact that the name describes an ObjC class, and so are not useful for things like dynamic types. llvm-svn: 148059
-
Eli Friedman authored
llvm-svn: 148058
-
Jim Ingham authored
llvm-svn: 148057
-
Eli Friedman authored
llvm-svn: 148056
-
Ted Kremenek authored
llvm-svn: 148055
-
Jim Ingham authored
and doing it both at the ModuleList and Module levels means we look 4 times for a negative search. Also, don't do the search for the stripped name if that is the same as the original one. llvm-svn: 148054
-
Argyrios Kyrtzidis authored
selector identifiers. It was difficult to form a test case for it unfortunately. llvm-svn: 148053
-
Kaelyn Uhrain authored
improvng the typo correction results in certain situations. llvm-svn: 148052
-
Fariborz Jahanian authored
list of protools. // rdar://10669694 llvm-svn: 148051
-
Pete Cooper authored
Added FPOW, FEXP, FLOG to PromoteNode so that custom actions can be set to Promote for those operations. Sorry, no test case yet llvm-svn: 148050
-