- May 06, 2014
-
-
Ben Langmuir authored
Warn on non-modular includes in various contexts. -Wnon-modular-include -Wnon-modular-include-in-module -Wnon-modular-include-in-framework-module Where each group is a subgroup of those above it. llvm-svn: 208004
-
Eric Christopher authored
llvm-svn: 208002
-
Eric Christopher authored
llvm-svn: 208001
-
David Blaikie authored
Simplify replacement map by avoiding duplicate values and ensuring the values it does contain are necessary. Items were being redundantly added to the replacement map (both when the declaration was created, and then again when its definition was constructed) which caused extra handling to be required when walking the map (as elements may've already been replaced due to prior entries). By avoiding adding the duplicates, the checks in the replacement handling can be replaced with assertions. llvm-svn: 208000
-
Reid Kleckner authored
Currently, users get error messages about RTTI descriptor mangling with no useful source location. This addresses that. Another approach would be to disable C++ exceptions by default in the driver when using the Microsoft C++ ABI. However, this makes it impossible to parse system headers that use exception handling constructs. By delaying the error to IRgen, we can figure out if we actually need to emit code for this construct. Additionally, users who are only interested in building refactoring tools on Windows still get a correct AST without having to add flags. Finally, this is consistent with what we do for SEH. llvm-svn: 207999
-
Todd Fiala authored
Pushed gdbremote protocol sequence expectations into a separate class and defer matching of llgs/debugserver output to the sequence entry. Pre-step to adding regex matching and grouped content collecting. No longer require anything before the read/send packet portion of slurped-up log lines used for setting up gdb remote test sequences. Several packet logging options produce a wide range of content before the read/send packet. Added helpers to TestLldbGdbServer to clean up test setup and test expectations matching. llvm-svn: 207998
-
Rafael Espindola authored
Warn if an alias requests a section other than the aliasee section. llvm-svn: 207997
-
Rafael Espindola authored
llvm-svn: 207996
-
Alp Toker authored
This minified source code and artwork is copied from a commercial product and carries no license information: dbtree.js (7 kb), 25.03.2014 14:51:32 Purchase and download DBTree now for only $29.75 $9.75 It was used by a small TOC which looks fine now as a plain unordered list. llvm-svn: 207995
-
Alp Toker authored
llvm-svn: 207994
-
Filipe Cabecinhas authored
This reverts commit 207992. I misread the phab number on the LGTM. llvm-svn: 207993
-
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
-