- Jul 18, 2013
-
-
Hans Wennborg authored
This should fix the chapuni bots. llvm-svn: 186611
-
Aaron Watry authored
F_Binary and friends were moved to include/Support/FileSystem.h v2: Maintain compatibility with LLVM 3.3 Signed-off-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 186610
-
Hans Wennborg authored
llvm-svn: 186609
-
Hans Wennborg authored
s/Tokenize/Tokenizer/ to make the comment correspond to the parameter name llvm-svn: 186608
-
Hans Wennborg authored
llvm-svn: 186607
-
Rafael Espindola authored
It also doubles a test that F_Append works. llvm-svn: 186606
-
Hans Wennborg authored
and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. llvm-svn: 186605
-
Fariborz Jahanian authored
- wip. llvm-svn: 186604
-
Reid Kleckner authored
MSBuild writes response files as UTF-16 little endian with a byte order mark. With this change, clang will be able to read them, although we still can't parse any of their flags. Adds a UTF-16-LE response file with a BOM for testing. Differential Revision: http://llvm-reviews.chandlerc.com/D1137 llvm-svn: 186603
-
Samuel Benzaquen authored
Summary: Change how error messages are constructed and stored in Diagnostics. Separate the notion of 'context' when recursing down in the parser and actual errors. This will simplify adding some new features, like argument overloading and error recovery. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1168 llvm-svn: 186602
-
Eric Christopher authored
This reverts commit r186599 as I didn't want to commit this yet. llvm-svn: 186601
-
Eric Christopher authored
llvm-svn: 186600
-
Eric Christopher authored
uses that wanted it. Also change the interface for createCompileUnit to compensate. Fix comments that refer to TheCU as well. llvm-svn: 186599
-
Aaron Ballman authored
Changed declarations from Attr to InheritableAttr as they are already being processed that way semantically. Patch thanks to Dean Sutherland! Reviewed by Eli Friedman. llvm-svn: 186598
-
Jim Ingham authored
<rdar://problem/14460024> llvm-svn: 186597
-
Jim Ingham authored
llvm-svn: 186596
-
Rafael Espindola authored
* assert that the return value is one of the documented values on msdn. * on FILE_TYPE_UNKNOWN, check GetLastError. Unfortunately I can't think of a way to get a FILE_TYPE_UNKNOWN on a test. llvm-svn: 186595
-
Stephen Lin authored
Update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. llvm-svn: 186594
-
Nadav Rotem authored
llvm-svn: 186593
-
Nadav Rotem authored
This brings the compile time of the SLP-Vectorizer to about 2.5% of OPT for my testcase. llvm-svn: 186592
-
Aaron Ballman authored
llvm-svn: 186591
-
Aaron Ballman authored
Test contents were somehow duplicated, resulting in any testcase that fails automatically failing twice. Removing the duplicates. llvm-svn: 186590
-
NAKAMURA Takumi authored
Windows/Path.inc: Introduce file_type::character_file and file_type::fifo_file in sys::fs::getStatus(HANDLE). It fixes llvm/test/Other/close-stderr.ll on msys. FIXME: Provide unittests. llvm-svn: 186588
-
Reid Kleckner authored
The plan is to use it for clang and lld. Major behavior changes: - We can now parse UTF-16 files that have a byte order mark. - PR16209: Don't drop backslashes on the floor if they don't escape anything. The actual parsing loop was based on code from Clang's driver.cpp, although it's been rewritten to track its state with control flow rather than state variables. Reviewers: hans Differential Revision: http://llvm-reviews.chandlerc.com/D1170 llvm-svn: 186587
-
NAKAMURA Takumi authored
sys::fs::status() doesn't work on pipes. Investigating. llvm-svn: 186586
-
Ashok Thirumurthi authored
and -fomit-frame-pointer. - Parses eh_frame FDEs to determine the function address and size so that the call frame parsing can continue. Note: This code path is specific to ELF and PECOFF, because ObjectFileMachO uses LCT_FunctionStarts to efficiently populate the symbol table. Thanks to Jason Molenda for the review! llvm-svn: 186585
-
Aaron Ballman authored
Replacing a morally duplicate diagnostic by adding it to an existing diagnostic's select list. Updates the tests for the more consistent diagnostic. llvm-svn: 186584
-
Daniel Jasper authored
Before: void f() { (a->* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)(aaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb); } After: void f() { (a->*aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)( aaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb); } Also add missing test case. llvm-svn: 186583
-
Manuel Klimek authored
Use CaptureDroppedDiagnostics to make sure that there is a diagnostic client installed when warning flags are parsed. llvm-svn: 186582
-
Sergey Matveev authored
Let users override the normal behavior to run leak checking earlier in the process. Also fix a couple nits here and there. llvm-svn: 186581
-
Joey Gouly authored
Tests for r186574. llvm-svn: 186580
-
Dmitry Vyukov authored
It is required for chromium sandboxing code. From the description it seems to be indeed synchronous -- called back on syscall with incorrect arguments, but seems to be unused in practice. So this should be fine. llvm-svn: 186579
-
Aaron Ballman authored
Removed a parameter from handleAttrWithMessage to make it more consistent with other attribute handlers, as well as other attribute error messages. Added missing test cases for the unavailable attribute, and updated the deprecated test case. llvm-svn: 186578
-
Alexey Samsonov authored
llvm-svn: 186577
-
Joey Gouly authored
llvm-svn: 186576
-
Edwin Vane authored
Existing tests are not changed but the set-up work is moved into a fixture to simplify forthcoming new tests. llvm-svn: 186575
-
Joey Gouly authored
llvm-svn: 186574
-
Richard Sandiford authored
This should be the last of the R.SBG patches for now. llvm-svn: 186573
-
Joey Gouly authored
Also, fix the namespace for two instructions that I missed previously. llvm-svn: 186572
-
Richard Sandiford authored
The original code only folded SRA into ROTATE ... SELECTED BITS if there was no outer shift. This patch splits out that check and generalises it slightly. The extra cases aren't really that interesting, but this is paving the way for RNSBG support. llvm-svn: 186571
-