- Sep 13, 2013
-
-
Daniel Jasper authored
With -style=file, clang-format now starts to search for a .clang-format file starting at the file given with -assume-filename if it reads from stdin. Otherwise, it would start searching from the current directory, which is not helpful for editor integrations. Also changed vim, emacs and sublime integrations to actually make use of this flag. This fixes llvm.org/PR17072. llvm-svn: 190691
-
Evgeniy Stepanov authored
Test. llvm-svn: 190690
-
Evgeniy Stepanov authored
Compiler part. llvm-svn: 190689
-
Alexander Kornienko authored
llvm-svn: 190688
-
David Tweed authored
historical remnant in r190684; remove it. llvm-svn: 190687
-
Evgeniy Stepanov authored
Runtime library part. llvm-svn: 190686
-
Daniel Sanders authored
svn 1.8.0 emits an additional line matching 'URL:' in its 'svn info' command ('Relative URL:'). Changed the grep to match only the intended line so that a valid SVNVersion.inc is generated. The problem doesnt occur with the svn version I'm using (1.7.5) but Tobias has confirmed that the change fixes the problem. See http://llvm.org/bugs/show_bug.cgi?id=17203 llvm-svn: 190685
-
David Tweed authored
address spaces which is both (1) a "semantic" concept and (2) possibly a hardware level restriction. It is desirable to be able to discard/merge the LLVM-level address spaces on arguments for which there is no difference to the current backend while keeping track of the semantic address spaces in a funciton prototype. To do this enable addition of the address space into the name-mangling process. Add some tests to document this behaviour against inadvertent changes. Patch by Michele Scandale! llvm-svn: 190684
-
Joey Gouly authored
Patch by Bradley Smith! llvm-svn: 190683
-
Evgeniy Stepanov authored
llvm-svn: 190682
-
Amaury de la Vieuville authored
Patch by Artyom Skrobov! llvm-svn: 190681
-
Evgeniy Stepanov authored
llvm-svn: 190680
-
Amaury de la Vieuville authored
Patch by Artyom Skrobov! llvm-svn: 190679
-
Daniel Jasper authored
Before (even with Style.Cpp11BracedListStyle): f(MyMap[{ composite, key }]); After: f(MyMap[{composite, key}]); llvm-svn: 190678
-
Patrik Hagglund authored
Since r187209, which modified ltdl.m4, I was unable to execute AutoRegen.sh, getting: ../configure:10779: error: possibly undefined macro: AC_LTDL_FUNC_ARGZ This commit re-adds AC_LTDL_FUNC_ARGZ to ltdl.m4, as a quick fix. For me, this corresponds to the configure file currently checked in. (However, the ltdl library seems to be unused since r74924 in 2009, except for the use of the LTDL_SHLIB_EXT macro in bugpoint(?). Therefore, the right solution seems to try to get rid of the local ltdl.m4 file, specified by autoconf/README.TXT.) llvm-svn: 190677
-
Zoran Jovanovic authored
llvm-svn: 190676
-
David Majnemer authored
Summary: Functions named "main", "wmain", "WinMain", "wWinMain", and "DllMain" are never mangled regardless of linkage, even when compiling for kernel mode. Depends on D1655 Reviewers: timurrrr, pcc, rnk, whunt CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1670 llvm-svn: 190675
-
Daniel Jasper authored
Before: enum { Bar = Foo < int, int > ::value }; After: enum { Bar = Foo<int, int>::value }; llvm-svn: 190674
-
Richard Sandiford authored
Just a clean-up, no behavioral change intended. llvm-svn: 190673
-
Richard Sandiford authored
E.g. "SRL %r2, 2; TMLL %r2, 1" => "TMLL %r2, 4". llvm-svn: 190672
-
David Majnemer authored
Summary: This is a first step to getting extern "C" working properly inside clang. There are a number of quirks but mangling declarations inside such a function are a good first step. Reviewers: timurrrr, pcc, cdavis5x CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1655 llvm-svn: 190671
-
David Majnemer authored
llvm-svn: 190670
-
Kostya Serebryany authored
llvm-svn: 190669
-
Duncan Sands authored
disabled. llvm-svn: 190668
-
Alexey Samsonov authored
[ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222 llvm-svn: 190667
-
Kostya Serebryany authored
llvm-svn: 190666
-
Tim Northover authored
Previously we modelled VPR128 and VPR64 as essentially identical register-classes containing V0-V31 (which had Q0-Q31 as "sub_alias" sub-registers). This model is starting to cause significant problems for code generation, particularly writing EXTRACT/INSERT_SUBREG patterns for converting between the two. The change here switches to classifying VPR64 & VPR128 as RegisterOperands, which are essentially aliases for RegisterClasses with different parsing and printing behaviour. This fits almost exactly with their real status (VPR128 == FPR128 printed strangely, VPR64 == FPR64 printed strangely). llvm-svn: 190665
-
Kostya Serebryany authored
[asan] more performance to FakeStack: a) don't used atomic exchange, instead rely on regular load and store and other signal-safe logic; b) remove allocated_from_size_class_mask_ which is not helping much anyway; Another 10% speedup llvm-svn: 190664
-
Kostya Serebryany authored
llvm-svn: 190663
-
Kostya Serebryany authored
llvm-svn: 190662
-
Kostya Serebryany authored
llvm-svn: 190661
-
Kostya Serebryany authored
llvm-svn: 190660
-
Craig Topper authored
llvm-svn: 190659
-
Shankar Easwaran authored
This handles multiple weak symbols which appear back to back. This fix is needed which otherwise will lead to symbols getting initialized to arbitrary values. There was a constructor/destructor test that really triggered this to be fixed on X86_64. Adds a test. llvm-svn: 190658
-
Richard Trieu authored
later in the code so that the expressions will have addition processing first. This catches a few additional cases of uninitialized uses of class fields. llvm-svn: 190657
-
James Dennett authored
llvm-svn: 190656
-
James Dennett authored
that duplicated the name of the entity being documented at the start of its comment, and other minor tidyups. llvm-svn: 190655
-
Jason Molenda authored
single-quote and double-quotemarks from around file paths specified to settings like target.expr-prefix or target.process.python-os-plugin-path. <rdar://problem/14970457> llvm-svn: 190654
-
Peter Collingbourne authored
llvm-svn: 190653
-
Jordan Rose authored
Patch by Jared Grubb! llvm-svn: 190652
-