| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 99277
|
| |
|
|
|
|
| |
encounter a definition.
llvm-svn: 99243
|
| |
|
|
|
|
| |
a null dereference results from a field access.
llvm-svn: 99236
|
| |
|
|
|
|
|
| |
are called (transitively) by regular functions/blocks within a
translation untion.
llvm-svn: 99233
|
| |
|
|
|
|
|
| |
and fix a missing diagnostics on assigning to a read-only
property. Fixes radar 7766184.
llvm-svn: 99230
|
| |
|
|
|
|
| |
we see an specialization definition ever if we then see a extern template declaration.
llvm-svn: 99226
|
| |
|
|
|
|
| |
uninitialized value is used in the LHS of a compound assignment.
llvm-svn: 99221
|
| |
|
|
|
|
| |
format attribute specifier.
llvm-svn: 99213
|
| |
|
|
| |
llvm-svn: 99212
|
| |
|
|
| |
llvm-svn: 99211
|
| |
|
|
|
|
| |
(radar 7634653).
llvm-svn: 99210
|
| |
|
|
| |
llvm-svn: 99209
|
| |
|
|
| |
llvm-svn: 99208
|
| |
|
|
| |
llvm-svn: 99200
|
| |
|
|
|
|
| |
implementations (radar 7547942).
llvm-svn: 99198
|
| |
|
|
|
|
| |
triple imply sse2?
llvm-svn: 99197
|
| |
|
|
| |
llvm-svn: 99194
|
| |
|
|
| |
llvm-svn: 99190
|
| |
|
|
|
|
|
|
|
| |
entering a function or block definition, not on every single declaration.
Unfortunately we don't have previous-lookup results around when it's time
to make this decision, so we have to redo the lookup. The alternative is
to use delayed diagnostics.
llvm-svn: 99172
|
| |
|
|
|
|
|
| |
If a struct has an invalid field, mark it as invalid. Also avoid producing
errors about incomplete types that are invalid.
llvm-svn: 99150
|
| |
|
|
|
|
|
|
|
|
|
| |
CXXExprWithTemporaries.
Not emitting the expression as an aggregate might be the right thing to do,
but is orthogonal. Emitting it as an scalar expression will still try to
create a temporary for the incomplete type of the CXXExprWithTemporaries and
fail.
llvm-svn: 99134
|
| |
|
|
|
|
|
| |
we can use the standard XFAIL and XTARGET to conditional tests based on
valgrind.
llvm-svn: 99089
|
| |
|
|
|
|
| |
-v style) to a file.
llvm-svn: 99054
|
| |
|
|
| |
llvm-svn: 99052
|
| |
|
|
|
|
|
|
| |
semantics.
- This should be conservatively correct, we eventually should have target hooks for platforms that are less strict.
llvm-svn: 99050
|
| |
|
|
|
|
|
|
| |
expression computation in the wrong bit-width, and end up generating a totally
bogus array reference (_g0+8589934546).
- This showed up on Prolangs/cdecl.
llvm-svn: 99042
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Disable RTTI.
- Disable use of __cxa_atexit.
- Disable unwind tables.
- Enable freestanding mode.
Also, honor -fhosted correctly.
<rdar://problem/7515383> C++ support: -fapple-kext not honored
llvm-svn: 99041
|
| |
|
|
|
|
|
|
| |
- So much typing, so little gain...
Also, rename the __cxx_global_initialization function just to match llvm-gcc.
llvm-svn: 99039
|
| |
|
|
| |
llvm-svn: 99037
|
| |
|
|
|
|
| |
<rdar://problem/7641151> clang must eat spaces after -l
llvm-svn: 99023
|
| |
|
|
| |
llvm-svn: 99019
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
shadowing it in the GlobalDeclMap. Eliminates the string-uniquing
requirement for mangled names, which should help C++ codegen times a little.
Forces us to do string lookups instead of pointer lookups, which might hurt
codegen times a little across the board. We'll see how it plays out.
Removing the string-uniquing requirement implicitly fixes any bugs like
PR6635 which arose from the fact that we had multiple uniquing tables for
different kinds of identifiers.
llvm-svn: 99012
|
| |
|
|
|
|
|
|
| |
instantiations when we have the corresponding macro definition and by
removing macro definition information from our table when the macro is
undefined.
llvm-svn: 99004
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
record (which includes all macro instantiations and definitions). As
with all lay deserialization, this introduces a new external source
(here, an external preprocessing record source) that loads all of the
preprocessed entities prior to iterating over the entities.
The preprocessing record is an optional part of the precompiled header
that is disabled by default (enabled with
-detailed-preprocessing-record). When the preprocessor given to the
PCH writer has a preprocessing record, that record is written into the
PCH file. When the PCH reader is given a PCH file that contains a
preprocessing record, it will be lazily loaded (which, effectively,
implicitly adds -detailed-preprocessing-record). This is the first
case where we have sections of the precompiled header that are
added/removed based on a compilation flag, which is
unfortunate. However, this data consumes ~550k in the PCH file for
Cocoa.h (out of ~9.9MB), and there is a non-trivial cost to gathering
this detailed preprocessing information, so it's too expensive to turn
on by default. In the future, we should investigate a better encoding
of this information.
llvm-svn: 99002
|
| |
|
|
|
|
| |
(related to radar 7538989).
llvm-svn: 98993
|
| |
|
|
| |
llvm-svn: 98979
|
| |
|
|
|
|
| |
mostly during conditional expressions.
llvm-svn: 98975
|
| |
|
|
|
|
|
| |
object pointer types.
Fixes radar 7634850.
llvm-svn: 98970
|
| |
|
|
|
|
| |
Fixes PR6643. Patch by Mike M!
llvm-svn: 98946
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
deserialization of precompiled headers, where the deserialization of
the source location entry for a buffer (e.g., macro instantiation
scratch space) would overwrite a one-element FileID cache in the
source manager. When tickled at the wrong time, we would return the
wrong decomposed source location and eventually cause c-index-test to
crash.
Found by dumb luck. It's amazing this hasn't shown up before.
llvm-svn: 98940
|
| |
|
|
|
|
|
|
| |
definitions) as part of the translation unit, so that normal
visitation, token-annotation, and cursor-at retrieval all see
preprocessing elements.
llvm-svn: 98935
|
| |
|
|
|
|
|
|
| |
--- Reverse-merging r98907 into '.':
D test/Index/c-index-getCursor-pp.c
U tools/CIndex/CIndex.cpp
llvm-svn: 98929
|
| |
|
|
|
|
|
|
| |
definitions) as part of the translation unit, so that normal
visitation, token-annotation, and cursor-at retrieval all see
preprocessing elements.
llvm-svn: 98907
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
access to the (elevated) access of the accessed declaration, if applicable,
rather than plunking that access onto the end after we've calculated the
inheritance access.
Also, being a friend of a derived class gives you public access to its
members (subject to later modification by further inheritance); it does
not simply ignore a single location of restricted inheritance.
Also, when computing the best unprivileged path to a subobject, preserve
the information that the worst path might be AS_none (forbidden) rather
than a minimum of AS_private.
llvm-svn: 98899
|
| |
|
|
| |
llvm-svn: 98878
|
| |
|
|
| |
llvm-svn: 98875
|
| |
|
|
|
|
|
| |
code when we are printing the name of an Objective-C method
whose class has not been declared. Fixes <rdar://problem/7495713>.
llvm-svn: 98874
|
| |
|
|
|
|
| |
a property which is not lvalue.
llvm-svn: 98848
|
| |
|
|
|
|
|
|
| |
preprocessing record. Use that link with clang_getCursorReferenced()
and clang_getCursorDefinition() to match instantiations of a macro to
the definition of the macro.
llvm-svn: 98842
|
| |
|
|
|
|
| |
generated by clang_annotateTokens().
llvm-svn: 98837
|