| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 93710
|
|
|
|
| |
llvm-svn: 93709
|
|
|
|
|
|
| |
is called on a pointer that does not get its value directly from malloc.
llvm-svn: 93706
|
|
|
|
| |
llvm-svn: 93696
|
|
|
|
| |
llvm-svn: 93681
|
|
|
|
| |
llvm-svn: 93668
|
|
|
|
|
|
|
|
|
|
| |
which are instantiations of the member functions of local
classes. These implicit instantiations have to occur at the same time
as---and in the same local instantiation scope as---the enclosing
function, since the member functions of the local class can refer to
locals within the enclosing function. This should really, really fix PR5764.
llvm-svn: 93666
|
|
|
|
|
|
| |
CXXReinterpretCastExpr, CXXConstCastExpr and CXXFunctionalCastExpr.
llvm-svn: 93658
|
|
|
|
|
|
|
|
|
|
|
|
| |
distinguish between nested classes (whose member functions cannot be
parsed until the innermost non-nested class is complete) and local
classes (that are defined within a function but are not necessarily
nested). The upshot of this change, which fixes PR5764, is that the
bodies of member functions of local (non-nested) classes need to be
parsed when the local class is complete (and no later), since they may
refer to function-local static variables, typedefs, enums, etc.
llvm-svn: 93653
|
|
|
|
|
|
|
|
|
| |
to merge the local instantiation scope with the outer local
instantiation scope, so that we can instantiate declarations from the
function owning the local class. Fixes an assert while instantiating
Boost.MPL's BOOST_MPL_ASSERT_MSG.
llvm-svn: 93651
|
|
|
|
|
|
| |
declaration where its initializer has a type-cast.
llvm-svn: 93650
|
|
|
|
|
|
|
|
| |
function template declared within a class template did not match a
function in another scope. We really need to rework how
friends-in-templates are semantically checked.
llvm-svn: 93642
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
previously only had a single location (the @ in @interface); now we
know where the @ is (for the start of the declaration), where the
class name is (that's the normal "location" now for diagnostics), and
where the category name is. Also, eliminated the redundant "end"
location, since ObjCContainerDecl already has better @end information.
The only XFAIL'd test is temporary; will un-XFAIL-it once I've taught
CIndex how to use the new locations.
llvm-svn: 93639
|
|
|
|
|
|
|
|
| |
Objective-C classes, protocol definitions, forward protocol
declarations, and categories. This information isn't actually used
yet; that's coming next.
llvm-svn: 93636
|
|
|
|
| |
llvm-svn: 93629
|
|
|
|
| |
llvm-svn: 93611
|
|
|
|
| |
llvm-svn: 93601
|
|
|
|
|
|
| |
pointer-to-member operator.
llvm-svn: 93592
|
|
|
|
| |
llvm-svn: 93584
|
|
|
|
|
|
|
|
| |
stand at the back of the line.
Thanks to Oliver Hunt for reminding me to do this.
llvm-svn: 93583
|
|
|
|
| |
llvm-svn: 93574
|
|
|
|
|
|
| |
-fms-extensions as well.
llvm-svn: 93569
|
|
|
|
|
|
| |
Fixes PR 6049.
llvm-svn: 93557
|
|
|
|
| |
llvm-svn: 93546
|
|
|
|
|
|
|
|
| |
to directly check the results of clang_getCursor(). Also, start
migrating some index-test tests over to c-index test [*] and some
grep-using tests over to FileCheck.
llvm-svn: 93537
|
|
|
|
|
|
| |
instantiation.
llvm-svn: 93533
|
|
|
|
|
|
| |
Also we don't need to recheck for altivec initializers, I think.
llvm-svn: 93529
|
|
|
|
|
|
| |
Patch by Enea Zaffanella.
llvm-svn: 93522
|
|
|
|
|
|
| |
Fixes radar 7546096.
llvm-svn: 93519
|
|
|
|
|
|
|
|
| |
references a const variable of integral type, the initializer may be
in a different declaration than the one that name-lookup saw. Find the
initializer anyway. Fixes PR6045.
llvm-svn: 93514
|
|
|
|
|
|
| |
qualifiers. Fixes PR6021.
llvm-svn: 93513
|
|
|
|
|
|
| |
the LValue-related methods of APValue out of line to avoid header file leaching.
llvm-svn: 93512
|
|
|
|
|
|
|
|
|
|
| |
Adjust BuildMemberReferenceExpr to perform the inheritance check on implicit
member accesses, which can arise from unqualified lookups and therefore may
reference decls from enclosing class scopes.
Fixes PR 5838.
llvm-svn: 93510
|
|
|
|
|
|
| |
function is not available. Fixes PR 6012.
llvm-svn: 93508
|
|
|
|
|
|
| |
messages when emitted results to the standard Diagnostics output. Fixes PR 6033.
llvm-svn: 93507
|
|
|
|
| |
llvm-svn: 93506
|
|
|
|
| |
llvm-svn: 93500
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do not look into base classes if there are any dependent base
classes. Instead, note in the lookup result that we couldn't look into
any dependent bases. Use that new result kind to detect when this case
occurs, so that we can fall back to treating the type/value/etc. as a
member of an unknown specialization.
Fixes an issue where we were resolving lookup at template definition
time and then missing an ambiguity at template instantiation time.
llvm-svn: 93497
|
|
|
|
|
|
|
| |
for __block variables of same name declared in multiple scopes.
Fixes radar 7540194
llvm-svn: 93474
|
|
|
|
|
|
| |
linkage name to find subprogram entry for the current function.
llvm-svn: 93461
|
|
|
|
| |
llvm-svn: 93452
|
|
|
|
| |
llvm-svn: 93451
|
|
|
|
|
|
|
| |
characters to be escaped and implement a scan-forward function which
properly respects brace nesting.
llvm-svn: 93447
|
|
|
|
|
|
| |
the dyn_cast against NULL rather than the *input*. Fixes PR6025.
llvm-svn: 93435
|
|
|
|
| |
llvm-svn: 93434
|
|
|
|
|
|
|
|
| |
finds nothing), and the current instantiation has dependent base
classes, treat the qualified lookup as if it referred to an unknown
specialization. Fixes PR6031.
llvm-svn: 93433
|
|
|
|
|
|
| |
declarations we're adding do not need any name-hiding checks.
llvm-svn: 93431
|
|
|
|
|
|
| |
eliminating yet one more ResultBuilder::MaybeAddResult caller.
llvm-svn: 93430
|
|
|
|
|
|
| |
ResultBuilder::MaybeAddResult over to ResultBuilder::AddResult.
llvm-svn: 93429
|
|
|
|
|
|
|
|
| |
after adding the ability to determine whether our lookup is a
base-class lookup. Eliminate CollectMemberLookupResults, since it is
no longer used (yay).
llvm-svn: 93428
|