- Feb 08, 2011
-
-
John McCall authored
mutable fields and with trivial destructors and copy constructors. llvm-svn: 125073
-
Douglas Gregor authored
a glvalue as a temporary. Previously, we were enumerating all of the cases that coul return glvalues and might be called with Sema::MaybeBindToTemporary(), but that was gross and we missed the Objective-C property reference case. llvm-svn: 125070
-
Ken Dyck authored
functionality intended. llvm-svn: 125069
-
John McCall authored
on invalid code and we don't really care, so kill it harder. llvm-svn: 125068
-
Fariborz Jahanian authored
in liu of a class method getter. objc++ uses a different code path and is more involved (TBD). llvm-svn: 125061
-
- Feb 07, 2011
-
-
John McCall authored
llvm-svn: 125021
-
Ted Kremenek authored
Move uninitialized variable checking back under -Wuninitialized-experimental. It is clear from user feedback that this warning is not quite ready. llvm-svn: 125007
-
John McCall authored
- BlockDeclRefExprs always store VarDecls - BDREs no longer store copy expressions - BlockDecls now store a list of captured variables, information about how they're captured, and a copy expression if necessary With that in hand, change IR generation to use the captures data in blocks instead of walking the block independently. Additionally, optimize block layout by emitting fields in descending alignment order, with a heuristic for filling in words when alignment of the end of the block header is insufficient for the most aligned field. llvm-svn: 125005
-
Anton Yartsev authored
llvm-svn: 125000
-
- Feb 06, 2011
-
-
Anders Carlsson authored
llvm-svn: 124988
-
Anders Carlsson authored
Fix self-host; if a thunk already exists and has available_externally linkage, we should change its linkage instead of asserting. llvm-svn: 124986
-
Anders Carlsson authored
When building with optimizations, emit thunks with available_externally linkage so devirtualized function calls can also be de-thunked. llvm-svn: 124984
-
Anders Carlsson authored
llvm-svn: 124983
-
Oscar Fuentes authored
is built as part of LLVM. llvm-svn: 124982
-
Chris Lattner authored
llvm-svn: 124981
-
- Feb 05, 2011
-
-
Oscar Fuentes authored
Untested, but should work :) llvm-svn: 124975
-
Oscar Fuentes authored
llvm-svn: 124974
-
Douglas Gregor authored
templates, a C++0x feature. llvm-svn: 124973
-
Oscar Fuentes authored
It is not possible to simply change that target name to `clang' because we already have one. llvm-svn: 124972
-
Douglas Gregor authored
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
-
Sebastian Redl authored
Basic implementation of inherited constructors. Only generates declarations, and probably only works for very basic use cases. llvm-svn: 124970
-
Oscar Fuentes authored
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
-
Anders Carlsson authored
won't assert when building a thunk for an implicit virtual member function that is not marked used. llvm-svn: 124967
-
Tobias Grosser authored
llvm-svn: 124959
-
Tobias Grosser authored
llvm-svn: 124958
-
Tobias Grosser authored
llvm-svn: 124957
-
Tobias Grosser authored
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
-
Tobias Grosser authored
llvm-svn: 124955
-
Tobias Grosser authored
llvm-svn: 124954
-
Tobias Grosser authored
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
-
Tobias Grosser authored
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
-
Tobias Grosser authored
clang-c/Index.h contained cursor kinds not yet available in the python bindings. Contributed-By:
<jmuizelaar@mozilla.com> llvm-svn: 124951
-
Argyrios Kyrtzidis authored
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
-
Argyrios Kyrtzidis authored
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
-
Anders Carlsson authored
We now emit everything except unused implicit virtual member functions when building the vtable. llvm-svn: 124935
-
Ted Kremenek authored
llvm-svn: 124924
-
Ted Kremenek authored
llvm-svn: 124920
-
Fariborz Jahanian authored
patch. llvm-svn: 124911
-
Fariborz Jahanian authored
when selector metadata is generated, which is triggered by at least on class implementation. This is to match gcc's behavior. // rdar://8851684. llvm-svn: 124909
-
- Feb 04, 2011
-
-
John McCall authored
we captured in the dependent case. llvm-svn: 124887
-