- Dec 02, 2013
-
-
Hans Wennborg authored
This makes the clang-format plugin self-contained. Instead of requiring clang-format.exe to be available on the PATH, this includes it in the plugin's installer (.vsix file) and runs it from the install directory. Differential Revision: http://llvm-reviews.chandlerc.com/D2281 llvm-svn: 196122
-
Vincent Lejeune authored
llvm-svn: 196121
-
Aaron Ballman authored
Re-enabled support for the Subjects for the weak attribute. This changes the diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this. llvm-svn: 196120
-
Alp Toker authored
This avoids allocation of temporary std::strings for file contents, instead writing chunks directly to the output stream. The old character-based B-tree iterator remains intact for the time being. llvm-svn: 196119
-
Marshall Clow authored
Found two identical files named 'DefaultOnly.h' in the libcxx test suite. Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
-
Rafael Espindola authored
This allows it to be used in TargetLoweringObjectFileImpl.cpp. llvm-svn: 196117
-
Aaron Ballman authored
The __w64 attribute handler was more generically named, but only applied to __w64 specifically. Renamed and removed some unused code. No functional change intended. llvm-svn: 196116
-
Joerg Sonnenberger authored
llvm-svn: 196115
-
Joerg Sonnenberger authored
llvm-svn: 196114
-
Alp Toker authored
This makes the code a little more idiomatic. No change in behaviour. llvm-svn: 196113
-
Sergey Matveev authored
llvm-svn: 196112
-
Rafael Espindola authored
MO_JumpTableIndex and MO_ExternalSymbol don't show up on inline asm. Keeping parts of the old asm printer just to print inline asm to a string that we then parse back looks like a hack. llvm-svn: 196111
-
Aaron Ballman authored
llvm-svn: 196110
-
Alexander Kornienko authored
llvm-svn: 196109
-
Alexander Kornienko authored
Summary: Added -fallback-style option. Changed clang-format to stop searching for .clang-format when an invalid file is found. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2292 llvm-svn: 196108
-
Aaron Ballman authored
llvm-svn: 196107
-
Diego Novillo authored
The profile file parser needed some tests for its parsing actions. This adds tests for each of the error messages emitted by the parser. llvm-svn: 196106
-
Aaron Ballman authored
Replacing custom subject application logic with table-generated logic. Affects: guarded_var, pt_guarded_var, guarded_by, pt_guarded_by, acquired_after and acquired_before. No functional change intended. llvm-svn: 196105
-
Rafael Espindola authored
llvm-svn: 196104
-
Aaron Ballman authored
Using the proper set key when determining whether a SubsetSubject helper method has been previously generated. llvm-svn: 196103
-
Tim Northover authored
llvm-svn: 196102
-
Ed Maste authored
A number of tests fail to build on FreeBSD because the test build script defaults to libstdc++ for clang. On FreeBSD the libstdc++ is rather old and libc++ should be used instead. (These tests previously had an @expectedFailureFreeBSD decorator for pr16696, the umbrella PR for the lack of threaded inferior support on FreeBSD. The work to add that support will be committed soon.) llvm-svn: 196101
-
Alp Toker authored
This file hasn't been updated in years. Remove old information and point to the current documentation at GoldPlugin.rst. llvm-svn: 196100
-
Diego Novillo authored
When a block is unreachable, asking its dom tree descendants should return the empty set. However, the computation of the descendants was causing a segmentation fault because the dom tree node we get from the basic block is initially NULL. Fixed by adding a test for a valid dom tree node before we iterate. The patch also adds some unit tests to the existing dom tree tests. llvm-svn: 196099
-
Evgeniy Stepanov authored
Patch by Alexander Taran. llvm-svn: 196098
-
Kostya Serebryany authored
llvm-svn: 196097
-
Alp Toker authored
AddGoldPlugin() is the same on gnutools and freebsd so avoid the copy-and-paste duplicate code. No change in functionality. llvm-svn: 196096
-
Chandler Carruth authored
to be a bit more sensible. The public interface now is first followed by the implementation details. This also resolves a FIXME to make something private -- it was already possible as the one special caller was already a friend. No functionality changed. llvm-svn: 196095
-
NAKAMURA Takumi authored
llvm-svn: 196094
-
NAKAMURA Takumi authored
llvm-svn: 196093
-
Rui Ueyama authored
llvm-svn: 196092
-
Robert Lytton authored
eliminateFrameIndex() has been reworked to handle both small & large frames with either a FP or SP. An additional Slot is required for Scavenging spills when not using FP for large frames. Reworked the handling of Register Scavenging. Whether we are using an FP or not, whether it is a large frame or not, and whether we are using a large code model or not are now independent. llvm-svn: 196091
-
Tim Northover authored
These are used by MachO only at the moment, and (much like the existing MOVW/MOVT set) work around the fact that the labels used in the actual instructions often contain PC-dependent components, which means that repeatedly materialising the same global can't be CSEed. With small modifications, it could be adapted to how ELF finds the address of _GLOBAL_OFFSET_TABLE_, which would give similar benefits in PIC mode there. llvm-svn: 196090
-
Benjamin Kramer authored
llvm-svn: 196089
-
Robert Lytton authored
llvm-svn: 196088
-
Robert Lytton authored
When using large code model: Global objects larger than 'CodeModelLargeSize' bytes are placed in sections named with a trailing ".large" The folded global address of such objects are lowered into the const pool. During inspection it was noted that LowerConstantPool() was using a default offset of zero. A fix was made, but due to only offsets of zero being generated, testing only verifies the change is not detrimental. Correct the flags emitted for explicitly specified sections. We assume the size of the object queried by getSectionForConstant() is never greater than CodeModelLargeSize. To handle greater than CodeModelLargeSize, changes to AsmPrinter would be required. llvm-svn: 196087
-
Robert Lytton authored
llvm-svn: 196086
-
Robert Lytton authored
Large frame offsets are loaded from the ConstantPool. Where possible, offsets are encoded using the smaller MKMSK instruction. Large frame offsets can only be used when there is a frame-pointer. llvm-svn: 196085
-
Robert Lytton authored
llvm-svn: 196084
-
Alexander Kornienko authored
llvm-svn: 196081
-