- May 06, 2014
-
-
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
-
Alp Toker authored
Let's see how far this gets on the build servers. The application requires native JIT and uses the C standard library, but hopefully we can get this tested on at least some configurations. Taking a lead from the clang-format tests, we'll just expect the executable to get picked up from the build output path for now. llvm-svn: 207950
-
Simon Atanasyan authored
llvm-svn: 207949
-
Ben Langmuir authored
Ideally, importing Foo.a from Foo.b would "do the right thing", but until it does, this patch makes it an error rather than allow it to silently be ignored. llvm-svn: 207948
-
Alp Toker authored
It looks like this was botched back in r94936. llvm-svn: 207947
-
Alp Toker authored
This option flag was incorrectly expecting an argument: $ cindex-dump.py --show-ids test.cpp cindex-dump.py: error: invalid number arguments With this change the feature correctly gets enabled by --show-ids. No tests. llvm-svn: 207946
-
Jim Ingham authored
llvm-svn: 207945
-
Jim Ingham authored
Add a callback that will allow an expression to be cancelled between the expression evaluation stages (for the ClangUserExpressions.) <rdar://problem/16790467>, <rdar://problem/16573440> llvm-svn: 207944
-
Saleem Abdulrasool authored
Windows on ARM does not conform to AEABI. However, memset would be emitted using the AEABI signature, resulting in inverted parameters. Handle this special case appropriately. llvm-svn: 207943
-
Saleem Abdulrasool authored
Add additional test cases for WoA AEABI avoidance checking. llvm-svn: 207942
-
Saleem Abdulrasool authored
Add handling for FK_SecRel_4 (4-byte section relative relocations). These are used by the generation of DWARF debug information (the abbrevations use section relative relocations). This will also be used in generation of CodeView line tables. llvm-svn: 207941
-
Benjamin Kramer authored
Otherwise we use the same threshold as for complete unrolling, which is way too high. This made us unroll any loop smaller than 150 instructions by 8 times, but only if someone specified -march=core2 or better, which happens to be the default on darwin. llvm-svn: 207940
-
Arnold Schwaighofer authored
When can't assume a vectorized tree is rooted in an instruction. The IRBuilder could have constant folded it. When we rebuild the build_vector (the series of InsertElement instructions) use the last original InsertElement instruction. The vectorized tree root is guaranteed to be before it. Also, we can't assume that the n-th InsertElement inserts the n-th element into a vector. This reverts r207746 which reverted the revert of the revert of r205018 or so. Fixes the test case in PR19621. llvm-svn: 207939
-
Joerg Sonnenberger authored
places to increase the chance of messing up any preserved registers. llvm-svn: 207938
-
- May 04, 2014
-
-
Elena Demikhovsky authored
llvm-svn: 207937
-
Alp Toker authored
These are somewhat arbitrary tests that check if "thing goes fine" when processing various platform-specific headers. Also move warn-sysheader.cpp to Misc where the other diagnostics infrastructure tests live. File moves only. llvm-svn: 207936
-
Chandler Carruth authored
operations on the call graph. This one forms a cycle, and while not as complex as removing an internal edge from an SCC, it involves a reasonable amount of work to find all of the nodes newly connected in a cycle. Also somewhat alarming is the worst case complexity here: it might have to walk roughly the entire SCC inverse DAG to insert a single edge. This is carefully documented in the API (I hope). llvm-svn: 207935
-
Chandler Carruth authored
before intra-SCC mutation, insertion before removal. No functionality changed. llvm-svn: 207934
-