- Nov 05, 2013
-
-
Daniel Jasper authored
Before, clang-format would always format entire nested blocks, which can be unwanted e.g. for long DEBUG({...}) statements. Also clang-format would not allow to merge lines in nested blocks (e.g. to put "if (a) return;" on one line in Google style). This is the first step of several refactorings mostly focussing on the additional functionality (by reusing the "format many lines" code to format the children of a nested block). The next steps are: * Pull out the line merging into its own class. * Seperate the formatting of many lines from the formatting of a single line (and the analysis of the solution space). llvm-svn: 194090
-
Rui Ueyama authored
llvm-svn: 194089
-
Kaelyn Uhrain authored
Revert this patch until cases of rejected valid code (e.g. identifiers that require ADL to be resolved properly) are fixed. llvm-svn: 194088
-
Jim Ingham authored
<rdar://problem/15390829> llvm-svn: 194087
-
Jiangning Liu authored
llvm-svn: 194086
-
Jiangning Liu authored
llvm-svn: 194085
-
Rafael Espindola authored
llvm-svn: 194084
-
Michael Gottesman authored
[objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail. Due to the previously added overflow checks, we can have a retain/release relation that is one directional. This occurs specifically when we run into an additive overflow causing us to drop state in only one direction. If that occurs, we should bail and not optimize that retain/release instead of asserting. Apologies for the size of the testcase. It is necessary to cause the additive cfg overflow to trigger. rdar://15377890 llvm-svn: 194083
-
Timur Iskhodzhanov authored
llvm-svn: 194082
-
John Thompson authored
llvm-svn: 194081
-
Marshall Clow authored
llvm-svn: 194080
-
John Thompson authored
llvm-svn: 194079
-
Alp Toker authored
This was only working previously due to a quirk in the way lit concatenates script commands. llvm-svn: 194078
-
Benjamin Kramer authored
llvm-svn: 194077
-
Alp Toker authored
Third time's the charm, sorry for the noise. llvm-svn: 194076
-
Peter Zotov authored
Original patch by David Monniaux llvm-svn: 194075
-
Peter Zotov authored
Original patch by David Monniaux llvm-svn: 194074
-
Alp Toker authored
XFAIL wasn't enough for some of the build servers. llvm-svn: 194073
-
Alp Toker authored
Turns out this has always been crashing since the test landed in r186647: Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function CheckAccessDeclContext, file clang/lib/AST/DeclBase.cpp, line 690. Needs attention. llvm-svn: 194072
-
Alp Toker authored
llc waits for input on stdin, which was not provided in this test. It was running only thanks to a quirk in the way lit concatenates commands. llvm-svn: 194071
-
Alp Toker authored
llvm-svn: 194070
-
Alp Toker authored
llvm-svn: 194069
-
Joey Gouly authored
llvm-svn: 194068
-
Peter Zotov authored
Original patch by Damien Schoof llvm-svn: 194067
-
Reed Kotler authored
command regarding the porting from the ARM version (was an old comment). llvm-svn: 194066
-
Peter Zotov authored
llvm-svn: 194065
-
Peter Zotov authored
Original patch by Jonathan Ragan-Kelley llvm-svn: 194064
-
Jason Molenda authored
GetThreadOriginExtendedBacktraceTypeAtIndex methods to SBProcess. Add documentation for the GetQueueName and GetQueueID methods to SBThread. <rdar://problem/15314369> llvm-svn: 194063
-
David Majnemer authored
llvm-svn: 194062
-
David Majnemer authored
llvm-svn: 194061
-
Alp Toker authored
All other tools have this -- it's needed to avoid hanging lit on Windows in case of a crash. llvm-svn: 194060
-
David Majnemer authored
After lexing a '##', we would look ahead and check to see if it was followed by '__VA_ARGS__'. After doing so, we would then go ahead and lex the token. However we would fail in the case where the '##' was followed by a '#' followed by an identifier because we would have lexed the '#' separately from the identifier, bypassing our parameter validation logic. Instead, lex the tokens coming after the '##' later. This fixes PR17804. llvm-svn: 194059
-
Peter Zotov authored
All other custom operations tags have LLVM prefix. llvm-svn: 194058
-
Peter Zotov authored
Workaround for an OCaml bug: http://caml.inria.fr/mantis/view.php?id=4166 llvm-svn: 194057
-
Richard Smith authored
llvm-svn: 194056
-
Richard Smith authored
deallocation function (and the corresponding unsized deallocation function has been declared), emit a weak discardable definition of the function that forwards to the corresponding unsized deallocation. This allows a C++ standard library implementation to provide both a sized and an unsized deallocation function, where the unsized one does not just call the sized one, for instance by putting both in the same object file within an archive. llvm-svn: 194055
-
Richard Smith authored
llvm-svn: 194054
-
Reed Kotler authored
Submit the basic port of the rest of ARM constant islands code to Mips. Two test cases are added which reflect the next level of functionality: constants getting moved to water areas that are out of range from the initial placement at the end of the function and basic blocks being split to create water when none exists that can be used. There is a bunch of this code that is not complete and has been marked with IN_PROGRESS. I will finish cleaning this all up during the next week or two and submit the rest of the test cases. I have elminated some code for dealing with inline assembly because to me it unecessarily complicates things and some of the newer features of llvm like function attributies and builtin assembler give me better tools to solve the alignment issues created there. Also, for Mips16 I even have the option of not doing constant islands in the present of inline assembler if I chose. When everything has been completed I will summarize the port and notify people that are knowledgable regarding the ARM Constant Islands code so they can review it in it's entirety if they wish. llvm-svn: 194053
-
David Majnemer authored
llvm-svn: 194052
-
Alp Toker authored
These were incorrectly pointing to HAVE_LOG despite being checked for correctly in config-ix.cmake. Patch by James Lyon! llvm-svn: 194051
-