| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
Reviewed by Derek Schuff.
llvm-svn: 197628
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'deprecated'.
Fixes <rdar://problem/15584219> and <rdar://problem/12241361>.
This change looks large, but all it does is reuse and consolidate
the delayed diagnostic logic for deprecation warnings with unavailability
warnings. By doing so, it showed various inconsistencies between the
diagnostics, which were close, but not consistent. It also revealed
some missing "note:"'s in the deprecated diagnostics that were showing
up in the unavailable diagnostics, etc.
This change also changes the wording of the core deprecation diagnostics.
Instead of saying "function has been explicitly marked deprecated"
we now saw "'X' has been been explicitly marked deprecated". It
turns out providing a bit more context is useful, and often we
got the actual term wrong or it was not very precise
(e.g., "function" instead of "destructor"). By just saying the name
of the thing that is deprecated/deleted/unavailable we define
this issue away. This diagnostic can likely be further wordsmithed
to be shorter.
llvm-svn: 197627
|
| |
|
|
| |
llvm-svn: 197626
|
| |
|
|
|
|
| |
and methods. rdar://15450637
llvm-svn: 197625
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit r197466.
The MachineCSE fix that required the -mcpu flag has been disabled
until more work can be done to fix downstream issues. Adding -mcpu
wasn't the right workaround anyway.
llvm-svn: 197624
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The problem here is more serious than the fix implies. Adding a field
to a class updates the triviality bits for the class (among other
things). Failing to require a complete type before adding the field
meant that these updates don't happen in the well-formed case where
the capture is an uninstantiated class template specialization,
leading the lambda itself to be treated as having a trivial copy
constructor when it shouldn't. Fixes <rdar://problem/15560464>.
llvm-svn: 197623
|
| |
|
|
|
|
|
|
| |
offsets structure is read & saved in the platform object -- soon
we'll be getting more than the queue name offset out of this
structure so we'll need to reuse the information in other methods.
llvm-svn: 197620
|
| |
|
|
| |
llvm-svn: 197617
|
| |
|
|
|
|
|
|
|
| |
Move some of the verifier directives away from the end of the pragma line.
This ensures that the diagnostics relate to the trailing token being tested and
not the verifier comments which are themselves part of the token stream.
llvm-svn: 197616
|
| |
|
|
|
|
|
|
| |
Given vsel_cc, op1, op2, since vsel has no LE/LT, to generate vsel for
such selection, it needs to inverse cc and swap op1 and op2. To inverse
cc, both L/G and E bits should be flipped.
llvm-svn: 197615
|
| |
|
|
|
|
|
|
| |
member functions. Paired commit with CFE.
rdar://problem/15356637
llvm-svn: 197613
|
| |
|
|
|
|
|
|
| |
member functions. Paired commit with LLVM.
rdar://problem/15356637
llvm-svn: 197612
|
| |
|
|
| |
llvm-svn: 197611
|
| |
|
|
| |
llvm-svn: 197610
|
| |
|
|
|
|
| |
Finishes the work started in r194224, and fixes <rdar://problem/15494681>.
llvm-svn: 197609
|
| |
|
|
|
|
|
|
|
|
| |
While debating the finer points of file extension matching, we somehow missed
the bigger problem that the current code will match anything starting with the
default or user-specified pattern (e.g. lit.site.cfg.in).
Fix this by doing what find(1) does, implicitly wrapping the pattern with ^$.
llvm-svn: 197608
|
| |
|
|
|
|
|
| |
Fixes a crash in llc where some parts think the target is thumb and others think
it is ARM.
llvm-svn: 197607
|
| |
|
|
|
|
|
|
|
|
|
|
| |
File summaries will now be optionally outputted which will give line,
branching and call coverage info. Unfortunately, clang's current
instrumentation does not give enough information to deduce function
calls, something that gcc is able to do. Thus, no calls are always
outputted to be consistent with gcov output.
Also updated tests.
llvm-svn: 197606
|
| |
|
|
|
|
|
|
| |
cstring, converted to NSString, produce the
matching AST for it. This also required some
refactoring of the previous code. // rdar://14106083
llvm-svn: 197605
|
| |
|
|
|
|
|
| |
These functions now always set the same variables in the same order and they
don't overlap with thep constructor.
llvm-svn: 197604
|
| |
|
|
| |
llvm-svn: 197603
|
| |
|
|
| |
llvm-svn: 197602
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added the following custom wrappers:
strstr
strrchr
memchr
nanosleep
socketpair
Tweaked a couple of existing wrappers: if a wrapper returns a pointers derived
from an input pointer, then return the label of the input pointer
Sorted tests invocation
Differential Revision: D2354
llvm-svn: 197601
|
| |
|
|
|
|
| |
Pete Cooper.
llvm-svn: 197600
|
| |
|
|
|
|
|
|
| |
The recovery was failing due to a missing case in SkipUntil().
Also add back tests from r197553 that were reverted in the previous commit.
llvm-svn: 197598
|
| |
|
|
|
|
|
|
|
|
|
| |
brackets and parens"
These parser changes were redundant. The same or better recovery can be
achieved with a one-line fix to SkipUntil() due to land in the next commit.
This reverts commit r197553.
llvm-svn: 197597
|
| |
|
|
|
|
|
|
| |
doesn't get broken again
(prompted by NAKAMURA Takumi)
llvm-svn: 197596
|
| |
|
|
| |
llvm-svn: 197595
|
| |
|
|
|
|
|
|
|
| |
This will cause llvm-cov to output branch counts instead of branch
probabilities. -b must be enabled.
Also updated tests.
llvm-svn: 197594
|
| |
|
|
| |
llvm-svn: 197593
|
| |
|
|
|
|
| |
floats.
llvm-svn: 197592
|
| |
|
|
|
|
| |
unwinding.
llvm-svn: 197591
|
| |
|
|
|
|
|
|
|
| |
This changes Clang standalone builds so that clang-tblgen lives in
clang/build/bin instead of llvm/build/bin, and so that with the Xcode
generator it's in clang/build/bin/Debug instead of llvm/build/bin/Debug/Debug/.
Yes, really.
llvm-svn: 197590
|
| |
|
|
|
|
|
|
|
| |
1. The arch directive now appears before the cpu directive
2. Long run lines were split across multiple lines
No functional changes.
llvm-svn: 197588
|
| |
|
|
|
|
|
|
| |
According to "Addenda to ABI for ARM architecture", Tag_FP_arch is the
new name for the equivalent Tag_VFP_arch. This commit renames
Tag_VFP_arch to Tag_FP_arch.
llvm-svn: 197587
|
| |
|
|
|
|
| |
// rdar://15397430
llvm-svn: 197586
|
| |
|
|
|
|
|
| |
I am about to send a patch for review touching these and clang-formating first
makes the patch much easier to read.
llvm-svn: 197585
|
| |
|
|
|
|
| |
declarations. This appears to be an omission from r189644.
llvm-svn: 197584
|
| |
|
|
|
|
|
|
| |
--ldflags."
I will introduce another flag, like --system-libs, later.
llvm-svn: 197583
|
| |
|
|
|
|
| |
AST nodes but never actually make use of them. No functional changes.
llvm-svn: 197582
|
| |
|
|
|
|
| |
points build directory.
llvm-svn: 197581
|
| |
|
|
| |
llvm-svn: 197580
|
| |
|
|
|
|
|
|
|
| |
During testing I observed QEMU send "$T02thread:01;#04" upon connection,
before any command from LLDB. This change from gclayton accepts (and
discards) a packet immediately after sending the initial ack, to flush
the GDB remote pipeline.
llvm-svn: 197579
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit kills off custom type specifier and keyword handling of OpenCL C
data types.
Although the OpenCL spec describes them as keywords, we can handle them more
elegantly as predefined types. This should provide better error correction and
code completion as well as simplifying the implementation.
The primary intention is however to simplify the C/C++ parser and save some
packed bits on AST structures that had been extended in r170432 just for
OpenCL.
llvm-svn: 197578
|
| |
|
|
|
|
| |
A f64 inside a struct can be 32 bit aligned on darwin.
llvm-svn: 197577
|
| |
|
|
|
|
| |
from llvm.
llvm-svn: 197576
|
| |
|
|
|
|
| |
are set at top.
llvm-svn: 197575
|
| |
|
|
|
|
|
|
|
|
| |
This patch adds -f64:32:64 to 32 bit ppc darwin since a f64 inside a
structure are only 32 bit aligned.
The patch also drop -f128:64:128 from all ppc darwin, since f128 is
128 bit aligned.
llvm-svn: 197574
|
| |
|
|
| |
llvm-svn: 197573
|
| |
|
|
|
|
|
|
| |
Thanks for Iain Sandoe for testing this with the original gcc.
Clang was already getting this right.
llvm-svn: 197572
|