| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Unified EmitTextAttribute for both Asm and Obj emission (.cpu only)
Added necessary cortex-A8 related attrs for codegen compat tests.
llvm-svn: 124995
|
| |
|
|
|
|
| |
when the div is an exact udiv.
llvm-svn: 124994
|
| |
|
|
| |
llvm-svn: 124993
|
| |
|
|
|
|
|
|
| |
instcombine xform to exercise this.
Nothing forms exact udivs yet though. This is progress on PR8862
llvm-svn: 124992
|
| |
|
|
|
|
|
|
|
| |
if we weren't going to inline the function. The rest of the code using
this was removed.
Fixes PR9154.
llvm-svn: 124991
|
| |
|
|
| |
llvm-svn: 124990
|
| |
|
|
| |
llvm-svn: 124989
|
| |
|
|
| |
llvm-svn: 124988
|
| |
|
|
|
|
| |
resulting pointer type both have the same size.
llvm-svn: 124987
|
| |
|
|
|
|
| |
linkage, we should change its linkage instead of asserting.
llvm-svn: 124986
|
| |
|
|
| |
llvm-svn: 124985
|
| |
|
|
|
|
| |
linkage so devirtualized function calls can also be de-thunked.
llvm-svn: 124984
|
| |
|
|
| |
llvm-svn: 124983
|
| |
|
|
|
|
| |
is built as part of LLVM.
llvm-svn: 124982
|
| |
|
|
| |
llvm-svn: 124981
|
| |
|
|
| |
llvm-svn: 124977
|
| |
|
|
|
|
| |
now, and this wasn't comparing some of their relevant bits anyhow.
llvm-svn: 124976
|
| |
|
|
|
|
| |
Untested, but should work :)
llvm-svn: 124975
|
| |
|
|
| |
llvm-svn: 124974
|
| |
|
|
|
|
| |
templates, a C++0x feature.
llvm-svn: 124973
|
| |
|
|
|
|
|
| |
It is not possible to simply change that target name to `clang'
because we already have one.
llvm-svn: 124972
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
overridden via remapping. Thus, when we create a "virtual" file in the
file manager, we still stat() the real file that lives behind it so
that we can provide proper uniquing based on inodes. This helps keep
the file manager much more consistent.
To take advantage of this when reparsing files in libclang, we disable
the use of the stat() cache when reparsing or performing code
completion, since the stat() cache is very likely to be out of date in
this use case.
llvm-svn: 124971
|
| |
|
|
|
|
| |
and probably only works for very basic use cases.
llvm-svn: 124970
|
| |
|
|
|
|
|
|
|
|
|
| |
This may not work on build platforms that place the binaries on
special folders ($build_dir/bin/Release/) such as the VS IDE and
XCode. For fixing this it is necessary to add a lit.py configuration
option for saying where the Clang binaries are, and apply to that path
the same magit that is used with the path to the LLVM tools binary
directory. Doing this requires a bit of autoconf work.
llvm-svn: 124969
|
| |
|
|
| |
llvm-svn: 124968
|
| |
|
|
|
|
|
|
| |
GetOrCreateLLVMFunction so that we
won't assert when building a thunk for an implicit virtual member function that is not marked used.
llvm-svn: 124967
|
| |
|
|
| |
llvm-svn: 124961
|
| |
|
|
| |
llvm-svn: 124960
|
| |
|
|
| |
llvm-svn: 124959
|
| |
|
|
| |
llvm-svn: 124958
|
| |
|
|
| |
llvm-svn: 124957
|
| |
|
|
|
|
|
|
| |
This is the first step to make the clang_complete vim plugin work with
libclang. Reparsing improves parsing time from 0.8 to 0.25 secs for
one of my LLVM .cpp files.
llvm-svn: 124956
|
| |
|
|
| |
llvm-svn: 124955
|
| |
|
|
| |
llvm-svn: 124954
|
| |
|
|
|
|
|
| |
The iterator did never throw an IndexError. It was therefore not possible
to use it in a normal foreach loop as that loop would never stop.
llvm-svn: 124953
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This improves the readability of the code and fixes one testsuite bug.
The bug happend, because we only stored the pointer to the diagnostic in the
FixIt iterator, but not the python Diagnostic object. So it could happen that
the FixIt iterator still exists, but the python Diagnostic object is freed.
However, as the python Diagnostic is freed the pointer to the diagnostic is also
freed and the FixIt iterator is referencing a freed pointer.
llvm-svn: 124952
|
| |
|
|
|
|
|
| |
clang-c/Index.h contained cursor kinds not yet available in the python bindings.
Contributed-By: jmuizelaar@mozilla.com
llvm-svn: 124951
|
| |
|
|
|
|
|
| |
config.h.* have conditions whether each symbol is defined or not.
Autoconf and CMake may check symbols in libgcc.a for JIT on Mingw.
llvm-svn: 124950
|
| |
|
|
|
|
| |
enough for caller to allocate one.
llvm-svn: 124949
|
| |
|
|
|
|
| |
functional changes.
llvm-svn: 124948
|
| |
|
|
| |
llvm-svn: 124947
|
| |
|
|
| |
llvm-svn: 124946
|
| |
|
|
|
|
| |
cmd.exe or MSYS shell) are included to invoke CreateProcess(). Thanks to Danil Malyshev.
llvm-svn: 124945
|
| |
|
|
| |
llvm-svn: 124944
|
| |
|
|
| |
llvm-svn: 124943
|
| |
|
|
| |
llvm-svn: 124942
|
| |
|
|
| |
llvm-svn: 124941
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A common pattern in classes with multiple initializers is to put the
subclass's common initialization bits into a static function that receives
the value of 'self', e.g:
if (!(self = [super init]))
return nil;
if (!(self = _commonInit(self)))
return nil;
It was reported that 'self' was not set to the result of [super init].
Until we can use inter-procedural analysis, in such a call, transfer the
ObjCSelfInitChecker flags associated with 'self' to the result of the call.
Fixes rdar://8937441 & http://llvm.org/PR9094
llvm-svn: 124940
|
| |
|
|
|
|
|
|
|
| |
say "out-of-line definition differ from the declaration in the return type" instead of
the silly "functions that differ only in their return type cannot be overloaded".
Addresses rdar://7980179.
llvm-svn: 124939
|
| |
|
|
| |
llvm-svn: 124937
|