- Jan 13, 2012
-
-
Eli Friedman authored
llvm-svn: 148141
-
Kaelyn Uhrain authored
improving the typo correction results in certain situations. This is also the first typo correction callback conversion to affect an existing unit test. :) llvm-svn: 148140
-
Sebastian Pop authored
Patch from Jyotsna Verma: I have made the changes to remove assertions in the Hexagon backend specific clang driver. Instead of asserting on invalid arch name, it has been modified to use the default value. I have changed the implementation of the CPU flag validation for the Hexagon backend. Earlier, the clang driver performed the check and asserted on invalid inputs. In the new implementation, the driver passes the last CPU flag (or sets to "v4" if not specified) to the compiler (and also to the assembler and linker which perform their own check) instead of asserting on incorrect values. This patch changes the setCPU function for the Hexagon backend in clang/lib/Basic/Targets.cpp which causes the compiler to error out on incorrect CPU flag values. llvm-svn: 148139
-
Sebastian Pop authored
llvm-svn: 148138
-
Sebastian Pop authored
llvm-svn: 148137
-
Richard Smith authored
llvm-svn: 148135
-
Douglas Gregor authored
llvm-svn: 148118
-
Douglas Gregor authored
llvm-svn: 148117
-
Evgeniy Stepanov authored
Gnu hash is not supported by the Android loader. llvm-svn: 148113
-
Jakob Stoklund Olesen authored
llvm-svn: 148095
-
Richard Smith authored
base classes. llvm-svn: 148094
-
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
-
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
-
Kaelyn Uhrain authored
objects, and add a basic CorrectionCandidateCallback template class to simplify the fixups. llvm-svn: 148085
-
Douglas Gregor authored
llvm-svn: 148084
-
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
-
Fariborz Jahanian authored
inside a class implementation with parse errors. // rdar://10633434 llvm-svn: 148074
-
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
-
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
-
- Jan 12, 2012
-
-
Eli Friedman authored
llvm-svn: 148058
-
Eli Friedman authored
llvm-svn: 148056
-
Ted Kremenek authored
llvm-svn: 148055
-
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
-
Rafael Espindola authored
llvm-svn: 148049
-
Rafael Espindola authored
Patch by Sylvestre Ledru. llvm-svn: 148045
-
Kaelyn Uhrain authored
And once again improve the typo correction results in certain situations just by moving the existing checks on the correction. llvm-svn: 148037
-
Ted Kremenek authored
[analyzer] fix inlining's handling of mapping actual to formal arguments and limit the call stack depth. The analyzer can now accurately simulate factorial for limited depths. llvm-svn: 148036
-
Richard Smith authored
zero-initialize the first union member. Also fix a bug where initializing an array of types compatible with wchar_t from a wide string literal failed in C, and fortify the C++ tests in this area. This part can't be tested without a code change to enable array evaluation in C (where an existing test fails). llvm-svn: 148035
-
Hans Wennborg authored
are used with that and the 'a' length modifier. llvm-svn: 148029
-
Douglas Gregor authored
expression for an Objective-C object or pointer type, so that we don't attempt to treat the member name as a template. Fixes <rdar://problem/10672501>. llvm-svn: 148028
-
Hans Wennborg authored
Before r148025 we (accidentally) didn't check whether a length modifier is appropriate for a scanlist, but now we do. llvm-svn: 148026
-