- Jul 27, 2014
-
-
Nico Weber authored
llvm-svn: 214038
-
Nico Weber authored
llvm-svn: 214036
-
- Jul 26, 2014
-
-
Fariborz Jahanian authored
properties are not synthesized in property auto-synthesis, as it can potentiall lead to runtime errors. rdar://17774815 llvm-svn: 214032
-
Simon Atanasyan authored
for a couple of MIPS toolchains. No functional changes. llvm-svn: 214025
-
Richard Smith authored
* Add abbreviation for CXXMethodDecl and for FunctionProtoType. These come up a *lot* in C++ modules. * Allow typedef declarations to use the abbreviation if they're class members, or if they're used. In passing, add more record name records for Clang AST node kinds. The downside is that we had already used up our allotment of 12 abbreviations, so this pushes us to an extra bit on each record to support the extra abbrev kinds, which increases file size by ~1%. This patch *barely* pays for that through the other improvements, but we've got room for another 18 abbrevs, so we should be able to make it much more profitable with future changes. llvm-svn: 214024
-
David Majnemer authored
Parser::ParseDeclarationSpecifiers eagerly updates the source range of the DeclSpec with the current token position. However, it might not consume any more tokens. Fix this by only setting the start of the range, not the end. This way the SourceRange will be invalid if we don't consume any more tokens. This fixes PR20413. Differential Revision: http://reviews.llvm.org/D4646 llvm-svn: 214018
-
NAKAMURA Takumi authored
llvm-svn: 214014
-
Richard Trieu authored
if the two arguments are equal. llvm-svn: 214008
-
Reid Kleckner authored
This moves some memptr specific code into the generic thunk emission codepath. Fixes PR20053. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D4613 llvm-svn: 214004
-
Reid Kleckner authored
llvm-svn: 214003
-
Jordan Rose authored
This isn't a real diagnostic kind, only a location note, and this form isn't even used if the SourceManager can provide a valid presumed location. But still. llvm-svn: 214002
-
Tom Stellard authored
llvm-svn: 213999
-
Bob Wilson authored
It requires an arm backend and also writes output in the test directory. llvm-svn: 213998
-
Richard Smith authored
each different enum value here. llvm-svn: 213996
-
rdar://problem/17803206Bob Wilson authored
llvm revision 210639 renamed the -global-merge backend option to -enable-global-merge. This change simply updates clang to match that. Patch by Steven Wu! llvm-svn: 213993
-
NAKAMURA Takumi authored
llvm-svn: 213992
-
Reid Kleckner authored
Previously we were building up the inalloca struct in the usual pattern of return type followed by arguments. However, on Windows, 'this' always precedes the 'sret' parameter, so we need to insert it into the struct first as a special case. llvm-svn: 213990
-
Larisse Voufo authored
Add test case for fix of linkage bug that miscompiled variable templates instantiated from similarly named local types (cf. r212233) llvm-svn: 213987
-
- Jul 25, 2014
-
-
Reid Kleckner authored
llvm-svn: 213979
-
Reid Kleckner authored
llvm-svn: 213978
-
Reid Kleckner authored
The target method of the thunk will perform the cleanup. This can't be tested in 32-bit x86 yet because passing something by value would create an inalloca, and we refuse to generate broken code for that. llvm-svn: 213976
-
Joerg Sonnenberger authored
for NetBSD. llvm-svn: 213972
-
Warren Hunt authored
We no longer plan to use __except_hander3 and rather use custom personality functions per __try block. llvm-svn: 213971
-
Fariborz Jahanian authored
expression is a forward declaration as this results in undefined behavior. rdar://17768630 llvm-svn: 213968
-
Rafael Espindola authored
Patch by Stephen Drake. llvm-svn: 213964
-
David Majnemer authored
CL's /Zp flag is analogous to GCC's -fpack-struct, it controls the default maximum alignment of records. Differential Revision: http://reviews.llvm.org/D4671 llvm-svn: 213958
-
Simon Atanasyan authored
directories description. Released version of this toolchain has not separate libraries for -mfp64 command line option. llvm-svn: 213937
-
James Molloy authored
Specifically the part where we removed a warning to be compatible with GCC, which has been widely regarded as a bad idea. I'm not quite happy with how obtuse this warning is, especially in the fairly common case of a 32-bit integer literal, so I've got another patch awaiting review that adds a fixit to reduce confusion. llvm-svn: 213935
-
Alexey Bataev authored
llvm-svn: 213927
-
Alexey Bataev authored
llvm-svn: 213925
-
Richard Smith authored
* Track override set across module load and save * Track originating module to allow proper re-export of #undef * Make override set properly transitive when it picks up a #undef This fixes nearly all of the remaining macro issues with self-host. llvm-svn: 213922
-
Ehsan Akhgari authored
llvm-svn: 213919
-
Ehsan Akhgari authored
llvm-svn: 213918
-
Ehsan Akhgari authored
Summary: This patch extends the __asm parser to make it keep parsing input tokens as inline assembly if a single-line __asm line is followed by another line starting with __asm too. It also makes sure that we correctly keep matching braces in such situations by separating the notions of how many braces we are matching and whether we are in single-line asm block mode. Reviewers: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4598 llvm-svn: 213916
-
Richard Smith authored
it through the normal TreeTransform logic for Exprs (which will strip off implicit parts of the initialization and never re-create them). llvm-svn: 213913
-
Richard Trieu authored
diffing. This removes extra "struct"/"class" in the type names and gives "bool" instead of "_Bool" for booleans. llvm-svn: 213912
-
Richard Trieu authored
printing of other types. llvm-svn: 213902
-
- Jul 24, 2014
-
-
Rafael Espindola authored
We don't support loading COFF files yet. llvm-svn: 213893
-
Reid Kleckner authored
llvm-svn: 213886
-
Mark Heffernan authored
llvm-svn: 213885
-