- Dec 12, 2012
-
-
Nick Kledzik authored
structures to and from YAML using traits. The first client will be the test suite of lld. The documentation will show up at: http://llvm.org/docs/YamlIO.html llvm-svn: 170019
-
- Dec 04, 2012
-
-
Eli Bendersky authored
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. llvm-svn: 169291
-
Chandler Carruth authored
missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] llvm-svn: 169224
-
Chandler Carruth authored
This comment has the dual effect of blocking reorderings with the sort_include script. llvm-svn: 169221
-
- Dec 03, 2012
-
-
Michael J. Spencer authored
llvm-svn: 169167
-
Michael J. Spencer authored
llvm-svn: 169166
-
Michael J. Spencer authored
"Windows.h" includes <Windows.h> which defines a bunch of stuff it shouldn't (even with all the restriction macros). We have no control over this file, so make it's scope as small as possible. llvm-svn: 169165
-
Chandler Carruth authored
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
-
- Dec 01, 2012
-
-
Eric Christopher authored
llvm-svn: 169056
-
- Nov 30, 2012
-
-
Alexey Samsonov authored
uses. APFloat::convert() takes the pointer to the fltSemantics variable, which is later accessed it in ~APFloat() desctructor. That is, semantics must still be alive at the moment we delete APFloat. Found by experimental AddressSanitizer use-after-scope checker. llvm-svn: 169047
-
Chandler Carruth authored
Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. llvm-svn: 168996
-
- Nov 28, 2012
-
-
Eli Bendersky authored
appropriate unit tests. This change in itself is not expected to affect any functionality at this point, but it will serve as a stepping stone to improve FileCheck's variable matching capabilities. Luckily, our regex implementation already supports backreferences, although a bit of hacking is required to enable it. It supports both Basic Regular Expressions (BREs) and Extended Regular Expressions (EREs), without supporting backrefs for EREs, following POSIX strictly in this respect. And EREs is what we actually use (rightly). This is contrary to many implementations (including the default on Linux) of POSIX regexes, that do allow backrefs in EREs. Adding backref support to our EREs is a very simple change in the regcomp parsing code. I fail to think of significant cases where it would clash with existing things, and can bring more versatility to the regexes we write. There's always the danger of a backref in a specially crafted regex causing exponential matching times, but since we mainly use them for testing purposes I don't think it's a big problem. [it can also be placed behind a flag specific to FileCheck, if needed]. For more details, see: * http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/055840.html * http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/156878.html llvm-svn: 168802
-
- Nov 20, 2012
-
-
Sean Silva authored
The rationale is to get YAML filenames in diagnostics from yaml::Stream::printError -- currently the filename is hard-coded as "YAML" because there's no buffer information available. Patch by Kim Gräsman! llvm-svn: 168341
-
- Nov 16, 2012
-
-
Chris Lattner authored
llvm-svn: 168182
-
- Nov 15, 2012
-
-
Daniel Dunbar authored
- The code could infinite loop trying to create unique files, if the directory containing the unique file exists, but open() calls on non-existent files in the path return ENOENT. This is true on the /dev/fd filesystem, for example. - Will add a clang side test case for this. llvm-svn: 168081
-
Guy Benyei authored
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures. llvm-svn: 168036
-
- Nov 14, 2012
-
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167984
-
- Nov 13, 2012
-
-
Chad Rosier authored
llvm-svn: 167849
-
- Nov 12, 2012
-
-
Chad Rosier authored
llvm-svn: 167755
-
- Nov 08, 2012
-
-
Benjamin Kramer authored
This is safe for x87 long doubles and ppc double doubles too. llvm-svn: 167582
-
- Nov 06, 2012
-
-
Daniel Dunbar authored
llvm-svn: 167467
-
- Nov 05, 2012
-
-
Daniel Dunbar authored
- We only support this when the client didn't claim to know the file size. llvm-svn: 167407
-
- Nov 02, 2012
-
-
Rafael Espindola authored
Patch by Kai. llvm-svn: 167309
-
- Nov 01, 2012
-
-
Michael J. Spencer authored
llvm-svn: 167191
-
- Oct 31, 2012
-
-
Rafael Espindola authored
llvm-svn: 167157
-
James Molloy authored
No testcase, as this is only testable on a C-A15 board. llvm-svn: 167108
-
- Oct 29, 2012
-
-
Ulrich Weigand authored
llvm-svn: 166954
-
Ulrich Weigand authored
llvm-svn: 166952
-
Ulrich Weigand authored
treating it as if it were an IEEE floating-point type with 106-bit mantissa. This makes compile-time arithmetic on "long double" for PowerPC in clang (in particular parsing of floating point constants) work, and fixes all "long double" related failures in the test suite. llvm-svn: 166951
-
- Oct 26, 2012
-
-
Joerg Sonnenberger authored
llvm-svn: 166772
-
- Oct 17, 2012
-
-
Daniel Dunbar authored
- Similar to Path::eraseFromDisk(), we don't want LLVM to remove things like /dev/null, even if it has the permission. llvm-svn: 166105
-
- Oct 12, 2012
-
-
Duncan Sands authored
llvm-svn: 165792
-
- Oct 10, 2012
-
-
Sean Silva authored
... Apparently the RTTI is still necessary for some reason. llvm-svn: 165654
-
Sean Silva authored
llvm-svn: 165652
-
- Oct 09, 2012
-
-
Rafael Espindola authored
the test. llvm-svn: 165535
-
- Oct 02, 2012
-
-
Nick Kledzik authored
llvm-svn: 165038
-
Andrew Kaylor authored
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. llvm-svn: 165030
-
- Oct 01, 2012
-
-
Micah Villmow authored
llvm-svn: 164948
-
- Sep 28, 2012
-
-
Dmitri Gribenko authored
Patch by Martinez, Javier E. llvm-svn: 164822
-
Benjamin Kramer authored
llvm-svn: 164817
-