- May 06, 2014
-
-
Filipe Cabecinhas authored
Summary: Also ran clang-format on the function. The code added is the last else if block. Reviewers: nadav, craig.topper Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3518 llvm-svn: 207992
-
Rafael Espindola authored
llvm-svn: 207991
-
Marek Olsak authored
Our OpenGL driver needs 22 SGPRs (16 user SGPRs + 6 streamout non-user SGPRs). Signed-off-by:Marek Olšák <marek.olsak@amd.com> llvm-svn: 207990
-
Rui Ueyama authored
Differential Revision: http://reviews.llvm.org/D3599 llvm-svn: 207989
-
David Majnemer authored
We would sometimes incorrectly give a thread-wrapper external linkage instead of internal linkage if we had only CodeGen'd it's declaration, not it's definition. This fixes PR19655. llvm-svn: 207988
-
Alexander Kornienko authored
defined in a macro. Summary: We shouldn't suggest replacements in macros anyway, as we can't see all usages of the macro and ensure the replacement is safe for all of them. Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3611 llvm-svn: 207987
-
Manuel Klimek authored
The assignment needs to be before the destruction of the temporary. This patch calls out to addStmt, which invokes VisitDeclStmt, which has all the correct logic for handling temporaries. llvm-svn: 207985
-
Michael Zolotukhin authored
llvm-svn: 207984
-
-
Joerg Sonnenberger authored
llvm-svn: 207982
-
Rafael Espindola authored
llvm-svn: 207981
-
Duncan P. N. Exon Smith authored
Visibility is meaningless when the linkage is local. Change `-internalize` to reset the visibility to `default`. <rdar://problem/16141113> llvm-svn: 207979
-
Duncan P. N. Exon Smith authored
No functionality change. llvm-svn: 207978
-
Rafael Espindola authored
This also add a release note about it. If this stays I will cleanup MC next week. llvm-svn: 207977
-
Adam Nemet authored
clang should not be used in the llvm tests. The topic was discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140428/214905.html llvm-svn: 207976
-
Ben Langmuir authored
Warning is default ignore, and not in -Wall. llvm-svn: 207975
-
Rafael Espindola authored
llvm-svn: 207974
-
Kaelyn Takata authored
Tested that the right -target-cpu is set in the clang -cc1 command line when running "clang -march=native -E -v - </dev/null" on both an FX-8150 and an FX-8350. Both are family 15h; the FX-8150 (Bulldozer processor) reports a model number of 1, and the FX-8350 (Piledriver processor) reports a model number of 2. llvm-svn: 207973
-
Rafael Espindola authored
llvm-svn: 207972
-
- May 05, 2014
-
-
Rafael Espindola authored
llvm-svn: 207971
-
Alexander Kornienko authored
Summary: Add clang-tidy -header-filter option to specify from which headers we want diagnostics to be printed. By default we don't print diagnostics from headers. We always print diagnostics from the main file of each translation unit. Reviewers: djasper, klimek Reviewed By: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D3590 llvm-svn: 207970
-
Michael Zolotukhin authored
llvm-svn: 207969
-
Timur Iskhodzhanov authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=305 Reviewed at http://reviews.llvm.org/D3607 llvm-svn: 207968
-
Rafael Espindola authored
llvm-svn: 207967
-
Michael Zolotukhin authored
llvm-svn: 207966
-
Daniel Jasper authored
Before: decltype(long_name_forcing_break) f() {} After: decltype(long_name_forcing_break) f() {} llvm-svn: 207965 -
Dinesh Dwivedi authored
Before: void f() { my_int a = (my_int) * b; } void f() { return P ? (my_int) * P : (my_int)0; } After: void f() { my_int a = (my_int)*b; } void f() { return P ? (my_int)*P : (my_int)0; } Differential Revision: http://reviews.llvm.org/D3576 llvm-svn: 207964 -
Benjamin Kramer authored
Patch by Dimitry Andric! llvm-svn: 207963
-
Alp Toker authored
llvm-svn: 207962
-
Daniel Jasper authored
Before: SomeFunction([](decltype(x), A * a) {}); After: SomeFunction([](decltype(x), A *a) {}); llvm-svn: 207961 -
Timur Iskhodzhanov authored
llvm-svn: 207960
-
Patrik Hagglund authored
llvm-svn: 207959
-
Dinesh Dwivedi authored
Before: #ifdef _DEBUG int foo( int i = 0 ) #else int foo( int i = 5 ) #endif { return i; } After: #ifdef _DEBUG int foo( int i = 0 ) #else int foo( int i = 5 ) #endif { return i; } llvm-svn: 207958 -
Manuel Klimek authored
Document and simplify ResolveCondition. 1. Introduce a temporary special case for temporary desctructors when resolving the branch condition - in an upcoming patch, alexmc will change temporary destructor conditions to not run through this logic, in which case we can remove this (marked as FIXME); this currently fixes a crash. 2. Simplify ResolveCondition; while documenting the function, I noticed that it always returns the last statement - either that statement is the condition itself (in which case the condition was returned anyway), or the rightmost leaf is returned; for correctness, the rightmost leaf must be evaluated anyway (which the CFG does in the last statement), thus we can just return the last statement in that case, too. Added an assert to verify the invariant. llvm-svn: 207957
-
Christian Pirker authored
llvm-svn: 207956
-
Daniel Jasper authored
These used to interact badly with AlwaysBreakBeforeMultilineStrings. llvm-svn: 207955
-
Dmitry Vyukov authored
llvm-svn: 207954
-
Simon Atanasyan authored
No functional changes. llvm-svn: 207953
-
Simon Atanasyan authored
llvm-svn: 207952
-
Alp Toker authored
Performs behind-the-scenes RUN line substitution similarly to what's done with clang-check and clang-format to ensure the executable is found. llvm-svn: 207951
-