- Jan 14, 2014
-
-
Chandler Carruth authored
llvm-svn: 199178
-
Richard Smith authored
llvm-svn: 199177
-
Bob Wilson authored
llvm-svn: 199176
-
Aaron Ballman authored
Removing some attribute magic related to the OpenCL keyword attributes. Instead of mapping them to their semantics as a custom part of the parser, they instead map declaratively through the rest of the attribute system. llvm-svn: 199175
-
Rafael Espindola authored
This will allow it to be called from target independent parts of the main streamer that don't know if there is a registered target streamer or not. This in turn will allow targets to perform extra actions at specified points in the interface: add extra flags for some labels, extra work during finalization, etc. llvm-svn: 199174
-
Sean Callanan authored
don't know their bit alignment. llvm-svn: 199173
-
Warren Hunt authored
This patch makes a small behavioral change to the interaction between pack and alignment. Specifically it makes __declspec(align()) on a field change that field's alignment without respect to pack but the alignment change to the record alignment as a whole still obeys pack. llvm-svn: 199172
-
Reid Kleckner authored
Record layout will tell us the offset of a shared vbptr inside a non-virtual base. No functionality change. llvm-svn: 199171
-
Rui Ueyama authored
llvm-svn: 199170
-
DeLesley Hutchins authored
consumable objects. These are useful for implementing error codes that must be checked. Patch also includes some significant refactoring, which was necesary to implement the new behavior. llvm-svn: 199169
-
Warren Hunt authored
Although VBPtrs were being placed correctly by the ms-abi layout engine, their offsets were being improperly reported to the ASTRecordLayout builder due to a bug. This patch fixes that and fixes the test cases to use the correct values. y llvm-svn: 199168
-
Rui Ueyama authored
llvm-svn: 199167
-
Rui Ueyama authored
llvm-svn: 199166
-
Rui Ueyama authored
llvm-svn: 199165
-
Rui Ueyama authored
llvm-svn: 199164
-
Rui Ueyama authored
llvm-svn: 199163
-
Duncan P. N. Exon Smith authored
llvm-svn: 199162
-
Rui Ueyama authored
llvm-svn: 199161
-
- Jan 13, 2014
-
-
Reid Kleckner authored
Fixes PR18435, where we generated a base ctor instead of a complete ctor, and so failed to construct virtual bases when constructing the complete object. llvm-svn: 199160
-
Rui Ueyama authored
llvm-svn: 199159
-
Cameron McInally authored
llvm-svn: 199158
-
Tobias Grosser authored
llvm-svn: 199157
-
Rui Ueyama authored
llvm-svn: 199156
-
Joey Gouly authored
llvm-svn: 199155
-
Warren Hunt authored
This patch moves the check for pragma pack until after the application of __declspec align to before pragma pack. This causes observable changes in the use of tail padding for bases. A test case is included. llvm-svn: 199154
-
Hans Wennborg authored
For example, don't fall back in /P (preprocess) mode. llvm-svn: 199153
-
Chandler Carruth authored
so bump the minimum version in the standalone Clang CMake project as well. As I mentioned on the LLVM commit version of this, if this causes any trouble for folks, just let me know. I'm trying to avoid re-implementing functionality in CMake, but I will if there are problems using the newer versions. llvm-svn: 199152
-
Aaron Ballman authored
llvm-svn: 199151
-
Chandler Carruth authored
old toolchain to build. The toolchain version is now checked in HandleLLVMOptions. llvm-svn: 199150
-
Chandler Carruth authored
option with the others in the top level CMakeLists, and put the check in HandleLLVMOptions. This will also let it be used from the standalone Clang builds. llvm-svn: 199149
-
Chandler Carruth authored
compiler version checking doesn't work on 2.8.7. This feature was documented in 2.8.10, but existed for an unknown amount of time before that. I'm actually happy to revert this and remove the use of the feature if there is anyone with a specific problem updating CMake. Please just let me know. I don't want to re-implement this CMake functionality unless there is a reason, and this is the only real way to find that out. llvm-svn: 199148
-
Cameron McInally authored
llvm-svn: 199147
-
Juergen Ributzka authored
llvm-svn: 199146
-
Chandler Carruth authored
likely to be reverted and re-applied a few times. The minimum versions we're aiming at: GCC 4.7 Clang 3.1 MSVC 17.0 (Visual Studio 2012) Let me know if something breaks! llvm-svn: 199145
-
Aaron Ballman authored
When determining the attribute's parsed kind, pay attention to the syntax used. This fixes bugs where an attribute has differing GNU and Declspec spellings, but they are treated as the same. Eg) __declspec(aligned) when it should be __attribute__((aligned)), and __attribute__((align)) when it should be __declspec(align). llvm-svn: 199144
-
Aaron Ballman authored
__forceinline is a keyword, and not a GNU-style attribute. This FIXME appears to be out-dated, and the attribute syntax is becoming more important these days. llvm-svn: 199143
-
Aaron Ballman authored
Updating the attribute declarations to have the correct syntaxes. This means giving a __declspec spelling to: deprecated, naked, noinline, noreturn, and nothrow. uuid has no GNU spelling, so it was switched to __declspec. dllexport and dllimport both are now supported with GNU spellings. llvm-svn: 199142
-
Aaron Ballman authored
There is no such thing as __attribute__((align)); that's a __declspec attribute. Fixing these test cases to use the proper spelling for their syntax. llvm-svn: 199141
-
Justin Bogner authored
llvm-svn: 199140
-
Justin Bogner authored
adjustFallThroughCount isn't a good name, and the documentation was even worse. This commit attempts to clarify what it's for and when to use it. llvm-svn: 199139
-