- Jan 17, 2014
-
-
Craig Topper authored
llvm-svn: 199476
-
NAKAMURA Takumi authored
It broke tests for targeting x86_64-pc-win32: Clang Tools :: clang-modernize/LoopConvert/array.cpp Clang :: CodeGenCXX/2010-05-10-Var-DbgInfo.cpp Clang :: CodeGenCXX/member-call-parens.cpp Clang :: CodeGenCXX/ptr-to-datamember.cpp Clang :: SemaTemplate/instantiate-function-1.cpp llvm-svn: 199475
-
Craig Topper authored
llvm-svn: 199474
-
Ted Kremenek authored
llvm-svn: 199473
-
Ted Kremenek authored
llvm-svn: 199472
-
Ted Kremenek authored
llvm-svn: 199471
-
Craig Topper authored
VEX_PREFIX_66 doesn't need to set the hasOpSize flag since VEX instructions don't use the size fields it controls. llvm-svn: 199470
-
NAKAMURA Takumi authored
llvm-svn: 199469
-
Craig Topper authored
llvm-svn: 199468
-
Ted Kremenek authored
This allows the following syntax: void baz(__attribute__((nonnull)) const char *str); instead of: void baz(const char *str) __attribute__((nonnull(1))); This also extends to Objective-C methods. The checking logic in Sema is not as clean as I would like. Effectively now we need to check both the FunctionDecl/ObjCMethodDecl and the parameters, so the point of truth is spread in two places, but the logic isn't that cumbersome. Implements <rdar://problem/14691443>. llvm-svn: 199467
-
Ted Kremenek authored
This is an alternate interface to the separate iterator interfaces provided by FunctionDecl and ObjCMethodDecl, which precede ArrayRef. Providing this new interface is more convenient for some uses, and likely the old interfaces should be removed. I have not undertaken that effort in this change because this API introduction may solicit commentary and that was a larger change than I wanted to introduce all at once to serve a direct purpose. llvm-svn: 199466
-
Ted Kremenek authored
No functionality change. llvm-svn: 199465
-
Ted Kremenek authored
llvm-svn: 199464
-
Hao Liu authored
Also add copy support for FPR16. Also add a missing test case file belongs to commit r197361. llvm-svn: 199463
-
Kevin Qin authored
[AArch64 NEON] Custom lower conversion between vector integer and vector floating point if element bit-width doesn't match. llvm-svn: 199462
-
Hao Liu authored
Also fix the problem can't select scalar_to_vector from f32 to v2f32/v4f32. llvm-svn: 199461
-
Ted Kremenek authored
llvm-svn: 199460
-
Alp Toker authored
Unused since r199250. llvm-svn: 199459
-
Alp Toker authored
The driver wasn't doing anything with it. Also rephrase the help text. llvm-svn: 199458
-
Aaron Ballman authored
Patch thanks to Nikola Smiljanic! llvm-svn: 199457
-
Alp Toker authored
Matching up the argument order in r199455's two RUN lines better demonstrates what's going on. llvm-svn: 199456
-
Alp Toker authored
'%clang -verify' will now issue an error instead of succeeding without verification. This should catch flawed tests like r199347. Followup to r199451. llvm-svn: 199455
-
David Blaikie authored
llvm-svn: 199454
-
Richard Smith authored
handling C++11 default initializers. Without this, other parts of Sema (such as lambda capture) would think the default initializer is part of the surrounding function scope. llvm-svn: 199453
-
Richard Smith authored
pointer, since this invokes undefined behavior. Based on a patch by Artyom Skrobov! Handling of dependent exception specifications and some additional testcases by me. llvm-svn: 199452
-
Alp Toker authored
Instead of dual-purposing a single flag, rename the driver option to --verify-debug-info. The frontend -verify option that enables diagnostic verification remains unchanged except that it's now a pure CC1Option. Both have been given proper help text. llvm-svn: 199451
-
Hans Wennborg authored
llvm-svn: 199450
-
Ed Maste authored
llvm-svn: 199449
-
Ed Maste authored
llvm-svn: 199448
-
Bob Wilson authored
llvm-svn: 199447
-
Ben Langmuir authored
Show the top-level pch file as the culprit, rather than the immediate dependency when a pch file imports a pcm from a module. To clarify the relationship, the pch import stack is printed as notes. The old behaviour was misleading when a pch imported a pcm (from a module), since removing the pcm would not fix the problem, whereas rebuilding the pch would. llvm-svn: 199446
-
Adrian Prantl authored
class and use it pervasively to restore debug locations. Fixes an interaction between cleanup and EH that caused the location to not be restored properly after emitting a landing pad. rdar://problem/15208190 llvm-svn: 199444
-
Richard Smith authored
attribute syntax. There's nothing generalized about this; it's one of several first-class attribute syntaxes we support, all of which are more-or-less equally general. As discussed on cfe-commits, we may want to revisit this if we start allowing this syntax as an extension in C (or if C adopts the syntax), but hopefully this diagnostic wording will be crystal clear to everyone in the mean time. llvm-svn: 199443
-
Hans Wennborg authored
llvm-svn: 199442
-
Hans Wennborg authored
The part that checks that certain functions are marked deprecated doesn't seem that useful, and it has the bad effect that the test hard-coded the locations of the notes from that test. llvm-svn: 199441
-
Hans Wennborg authored
The _cpuid() implementation is the same as in lib/Headers/cpuid.h with the parameter names adjusted to match the interface. _xgetbv just does what the Intel manual says. Differential Revision: http://llvm-reviews.chandlerc.com/D2564 llvm-svn: 199439
-
Richard Smith authored
lookup when declaring a variable template specialization. llvm-svn: 199438
-
Rafael Espindola authored
llvm-svn: 199437
-
DeLesley Hutchins authored
issues, a few testcases, and kills fish. llvm-svn: 199436
-
- Jan 16, 2014
-
-
Reid Kleckner authored
This makes things a lot easier, because we can now talk about the "argument allocation", which allocates all the memory for the call in one shot. The only functional change is to the verifier for a feature that hasn't shipped yet. llvm-svn: 199434
-