| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
This builds extra versions of compiler-rt targeting various unhosted targets.
Only built on Darwin since even though they're not iOS or OSX, they share some
quirks.
llvm-svn: 194878
|
| |
|
|
| |
llvm-svn: 194872
|
| |
|
|
|
|
|
| |
the GNU documentation: the attribute only appertains to the label if it is
followed by a semicolon. Based on a patch by Aaron Ballman!
llvm-svn: 194869
|
| |
|
|
|
|
| |
// rdar://15454846
llvm-svn: 194864
|
| |
|
|
| |
llvm-svn: 194863
|
| |
|
|
|
|
|
|
| |
the point of CF object type-cast and issue diagnostic
if it is not a valid ObjectiveC class. // rdar//15454846.
This is wip.
llvm-svn: 194861
|
| |
|
|
| |
llvm-svn: 194854
|
| |
|
|
| |
llvm-svn: 194850
|
| |
|
|
| |
llvm-svn: 194849
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Trying to fix test failures since earlier today.
One of the tests added in this commit is outputting test/Driver/clang_f_opts.s
which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are
trying to run as a test case, causing failures.
clang_f_opts.c:
If -### doesn't emit the warning then this test probably shouldn't be in
here in the first place. Frontend maybe?
invalid-o-level.c:
Running %clang_cc1 in the Driver tests doesn't make sense because -cc1
bypasses the driver. (I'm not reverting the commit that introduced this but
please fix instead of keeping it this way.)
Reverting to fix the build failures and also so that the tests can be thought
out more thoroughly.
This reverts commit r194817.
llvm-svn: 194845
|
| |
|
|
|
|
|
|
|
|
|
| |
Even if we don't support a flag, we should be able to parse it
to provide a better error message than the current default
"error: no such file or directory: '/foo'" (which we should probably
also tweak, btw).
This also tries to clean up the test file a bit.
llvm-svn: 194837
|
| |
|
|
| |
llvm-svn: 194835
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Up until now we were expecting that when libc++ is installed alongside
clang the headers would be in lib/, which was true if the configure
build was used and false if the cmake build was.
We've now corrected the configure build to install in include/, and
with this change we'll be able to find the correct headers with both
build systems.
llvm-svn: 194834
|
| |
|
|
|
|
|
|
|
| |
When using the configure build system, the libc++ headers were being
installed in lib/, whereas cmake installs them in include/. Since
include/ makes more sense for headers, we'll make both systems install
headers there.
llvm-svn: 194833
|
| |
|
|
|
|
|
|
| |
ivar when property belongs to a super class and
currnt class happens to have a method with same name as
property. // rdar//15473432
llvm-svn: 194830
|
| |
|
|
| |
llvm-svn: 194829
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of storing the vtable offset directly in the function pointer and
doing a branch to check for virtualness at each call site, the MS ABI
generates a thunk for calling the function at a specific vtable offset,
and puts that in the function pointer.
This patch adds support for emitting such thunks. However, it doesn't support
pointers to virtual member functions that are variadic, have an incomplete
aggregate return type or parameter, or are overriding a function in a virtual
base class.
Differential Revision: http://llvm-reviews.chandlerc.com/D2104
llvm-svn: 194827
|
| |
|
|
|
|
| |
instead of -lstdc++.
llvm-svn: 194822
|
| |
|
|
|
|
|
|
| |
iOS simulator.
Add a test.
llvm-svn: 194820
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Currently with clang:
$ clang -O20 foo.c
error: invalid value '20' in '-O20'
With the patch:
$ clang -O20 foo.c
warning: optimization level '-O20' is unsupported; using '-O3' instead.
1 warning generated.
This matches the gcc behavior (with a warning added)
Pass all tests:
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 94.14s
Expected Passes : 6721
Expected Failures : 20
Unsupported Tests : 17
(which was not the case of http://llvm-reviews.chandlerc.com/D2125)
Reviewers: chandlerc, rafael, rengolin, hfinkel
Reviewed By: rengolin
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2152
llvm-svn: 194817
|
| |
|
|
|
|
| |
using configure+make.
llvm-svn: 194816
|
| |
|
|
|
|
|
|
|
|
| |
By adding a default config.excludes pattern we can avoid individual
suppressions in subdirectories.
This matches LLVM's lit.cfg which also excludes a few other common non-test
filenames for consistency.
llvm-svn: 194814
|
| |
|
|
| |
llvm-svn: 194795
|
| |
|
|
|
|
|
|
|
|
|
|
| |
representing the module import rather than making the module immediately
visible. This serves two goals:
* It avoids making declarations in the module visible prematurely, if we
walk past the #include during a tentative parse, for instance, and
* It gives a diagnostic (although, admittedly, not a very nice one) if
a header with a corresponding module is included anywhere other than
at the top level.
llvm-svn: 194782
|
| |
|
|
|
|
|
| |
until after we've referenced the operator; otherwise, we might pick up a
not-yet-deduced type.
llvm-svn: 194775
|
| |
|
|
|
|
| |
variable isn't really uninitialized, it's just not initialized yet.
llvm-svn: 194767
|
| |
|
|
|
|
| |
Bitcasts between address spaces are no longer allowed.
llvm-svn: 194765
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is similar to r194004: because we can't reason about the data structure
invariants of std::basic_string, the analyzer decides it's possible for an
allocator to be used to deallocate the string's inline storage. Just ignore
this by walking up the stack, skipping past methods in classes with
"allocator" in the name, and seeing if we reach std::basic_string that way.
PR17866
llvm-svn: 194764
|
| |
|
|
|
|
|
|
|
|
| |
This has no effect on user-visible output, but can be used by post-processing
tools that work with the generated HTML, rather than using CmpRuns.py's
interface to work with plists.
Patch by György Orbán!
llvm-svn: 194763
|
| |
|
|
|
|
|
| |
where we didn't. Extend our constant evaluation for __builtin_strlen to handle
any constant array of chars, not just string literals, to match.
llvm-svn: 194762
|
| |
|
|
| |
llvm-svn: 194751
|
| |
|
|
| |
llvm-svn: 194745
|
| |
|
|
| |
llvm-svn: 194744
|
| |
|
|
|
|
|
| |
This patch adds -I to the arguments that are passed to the
integrated assembler from -Wa, and -Xassembler args.
llvm-svn: 194743
|
| |
|
|
|
|
|
|
| |
They were previously not part of the install target.
Differential Revision: http://llvm-reviews.chandlerc.com/D2154
llvm-svn: 194741
|
| |
|
|
|
|
|
|
|
|
| |
template, that member has a dependent type (even if we can see the definition
of the member of the primary template), because the array size could change in
a member specialization.
Patch by Karthik Bhat!
llvm-svn: 194740
|
| |
|
|
|
|
|
|
|
|
| |
This patch tests introduces a proper codegen test in place of the
"codegen no longer crashes" test introduced in r193664. The test is also
moved from layout to CodeGenCXX.
Differential Revision: http://llvm-reviews.chandlerc.com/D2174
llvm-svn: 194739
|
| |
|
|
|
|
| |
ill-formed in C++11.
llvm-svn: 194736
|
| |
|
|
|
|
| |
and accumulate instructions.
llvm-svn: 194732
|
| |
|
|
|
|
| |
attributes on 'readonly' properties. // rdar://15460787
llvm-svn: 194718
|
| |
|
|
| |
llvm-svn: 194717
|
| |
|
|
|
|
|
|
| |
This makes sure the analyzer actually honors assert() in an MSVC project.
Patch by Anders Montonen!
llvm-svn: 194716
|
| |
|
|
|
|
|
| |
This options accepts a path to a directory, collects the filenames of the files
it contains, and the migrator will only modify files with the same filename.
llvm-svn: 194710
|
| |
|
|
|
|
|
|
| |
companion flags.
Ignore them when determining if some transformation was enabled.
llvm-svn: 194709
|
| |
|
|
| |
llvm-svn: 194706
|
| |
|
|
|
|
| |
functional changes - just reflection of the current state.
llvm-svn: 194690
|
| |
|
|
| |
llvm-svn: 194678
|
| |
|
|
| |
llvm-svn: 194674
|
| |
|
|
| |
llvm-svn: 194672
|
| |
|
|
|
|
| |
Per feedback from Jordan Rose I realized this wasn't the right way to go.
llvm-svn: 194664
|