- Dec 04, 2013
-
-
David Blaikie authored
llvm-svn: 196399
-
Aaron Ballman authored
When parsing ignored attribute arguments, presuming the first argument is an unresolved identifier the same way that we do for unknown arguments. This resolves PR18075, where we regressed the handling of OpenBSD's bounded attribute. llvm-svn: 196387
-
Alexander Kornienko authored
llvm-svn: 196384
-
Alexander Kornienko authored
llvm-svn: 196380
-
Alexander Kornienko authored
Summary: Allow tryFitMultipleLinesInOne join unwrapped lines when ContinuationIndenter::mustBreak doesn't agree. But don't merge any lines, that are separate in the input. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2321 llvm-svn: 196378
-
NAKAMURA Takumi authored
It broke clang tests on some hosts with +Asserts. Seems "STDC" clashes. llvm-svn: 196376
-
Lubos Lunak authored
And refactor to have just one place in code that sets up the empty pragma handlers. llvm-svn: 196372
-
Richard Sandiford authored
I'd misunderstood getIndirect() to mean that the argument should be passed as a pointer at the ABI level, with the ByVal argument choosing caller-copy semantics over no-caller-copy (callee-copy-on-write) semantics. But getIndirect(x) actually means that x is passed by pointer at the IR level but (at least on all other targets I looked at) directly at the ABI level. getIndirect(x, false) selects a pointer to a caller-made copy, which is what SystemZ was aiming for. This fixes a miscompilation of c-index-test. Structure arguments were being passed by pointer, but no copy was being made, so a write in the callee stomped over a caller's local variable. llvm-svn: 196370
-
David Majnemer authored
We would lose track of the mangling number assigned to the original declaration which would cause us to create manglings that didn't match the Itanium C++ specification. e.g. Two static fields with the same name inside of a function template would receive the same mangling with LLVM fixing up the second field so they wouldn't collide. This would create an incompatibility with other compilers following the Itanium ABI. I've confirmed that the new mangling is identical to the ones generated by icc and gcc. N.B. This was uncovered while working on Microsoft mangler. llvm-svn: 196368
-
Kevin Qin authored
llvm-svn: 196361
-
Kevin Qin authored
llvm-svn: 196359
-
Serge Pavlov authored
This patch fixes PR16989. llvm-svn: 196352
-
Faisal Vali authored
In delayed template parsing mode, adjust the template depth counter for each template parameter list associated with an out of line member template specialization. llvm-svn: 196351
-
NAKAMURA Takumi authored
llvm-svn: 196350
-
NAKAMURA Takumi authored
llvm-svn: 196349
-
NAKAMURA Takumi authored
clang/test/CodeGen/builtins-nvptx.c: Prune "REQUIRES: nvptx64-registered-target". "nvptx" should imply it. llvm-svn: 196348
-
NAKAMURA Takumi authored
In trunk, we can use features as below: aarch64-registered-target hexagon-registered-target msp430-registered-target r600-registered-target systemz-registered-target xcore-registered-target Each of them, as below, implies corresponding subtargets: arm-registered-target -- arm, thumb mips-registered-target -- mips, mips64, mips64el, mipsel nvptx-registered-target -- nvptx, nvptx64 sparc-registered-target -- sparc, sparcv9 x86-registered-target -- x86, x86-64 They will be renamed: cppbackend-registered-target -- was "cpp". Unused in trunk. powerpc-registered-target -- was "ppc32", "ppc64" and "ppc64le". The feature "asserts" is also taken from llvm-config. llvm-svn: 196347
-
NAKAMURA Takumi authored
llvm-svn: 196346
-
Richard Smith authored
llvm-svn: 196338
-
Richard Smith authored
to a variable template specialization. llvm-svn: 196337
-
Alp Toker authored
Also update docs to reflect recently changed -i inplace edit behaviour. llvm-svn: 196336
-
Richard Smith authored
llvm-svn: 196335
-
Richard Smith authored
simple-template-ids (eg, 'operator+<int>') in weird places. llvm-svn: 196333
-
- Dec 03, 2013
-
-
Argyrios Kyrtzidis authored
override all of the designated initializers of its superclass. llvm-svn: 196319
-
Argyrios Kyrtzidis authored
super another initializer and when the implementation does not delegate to another initializer via a call on 'self'. A secondary initializer is an initializer method not marked as a designated initializer within a class that has at least one initializer marked as a designated initializer. llvm-svn: 196318
-
Argyrios Kyrtzidis authored
super an initializer that is not a designated one or any initializer on self. llvm-svn: 196317
-
Argyrios Kyrtzidis authored
an init method that is a designated initializer for the superclass. llvm-svn: 196316
-
Argyrios Kyrtzidis authored
designated initializers of an interface. If the interface declaration does not have methods marked as designated initializers then the interface inherits the designated initializers of its super class. llvm-svn: 196315
-
Argyrios Kyrtzidis authored
It only applies to methods of init family in an interface declaration. llvm-svn: 196314
-
Daniel Jasper authored
Before, there SourceManager would not return a FileEntry for a SourceLocation of a macro expansion (if the header name itself is defined in a macro). We'd then fallback to assume that the module currently being built is the including module. However, in this case we are actually interested in the spelling location of the filename loc in order to derive the including module. llvm-svn: 196311
-
Hans Wennborg authored
This makes it possible to build the clang-format vs plugin from the cmake build. It is a hack, as it shells out to "devenv" to actually build it, but it's hidden away in a corner behind a flag, and it provides a convenient way of building the plug-in from the command-line together with the rest of clang. Differential Revision: http://llvm-reviews.chandlerc.com/D2310 llvm-svn: 196299
-
Daniel Jasper authored
llvm-svn: 196297
-
Fariborz Jahanian authored
return void expression. // rdar://15366494 pr17759. llvm-svn: 196296
-
Rafael Espindola authored
llvm-svn: 196287
-
Rafael Espindola authored
llvm-svn: 196286
-
Rafael Espindola authored
llvm-svn: 196285
-
Rafael Espindola authored
llvm-svn: 196284
-
Rafael Espindola authored
llvm-svn: 196282
-
Rafael Espindola authored
llvm-svn: 196281
-
Rafael Espindola authored
llvm-svn: 196280
-