| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
them the same way as fields. This fixes a regression in RegionStore::RemoveDeadbindings()
that emerged from going to the cluster-based analysis.
llvm-svn: 100570
|
| |
|
|
|
|
|
|
| |
that protected members be used on objects of types which derive from the
naming class of the lookup. My first N attempts at this were poorly-founded,
largely because the standard is very badly worded here.
llvm-svn: 100562
|
| |
|
|
|
|
|
| |
while we're completing in the middle of a function call), also produce
"ordinary" name results that show what can be typed at that point.
llvm-svn: 100558
|
| |
|
|
| |
llvm-svn: 100557
|
| |
|
|
|
|
|
| |
statement or for ordinary names. This means that we won't show macros
when completing, e.g., member expressions such as "p->".
llvm-svn: 100555
|
| |
|
|
|
|
|
| |
down the set of code-completion results based on Objective-C
conventions.
llvm-svn: 100548
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allowing backend errors to be mapped through clang's
diagnostics subsystem, including the backend location info.
We now get:
$ clang asm.c -c -o t.o -integrated-as
<inline asm>:1:2: error: unrecognized instruction
abc incl %eax
^
1 diagnostic generated.
With colors, and correct "# diagnostics generated".
llvm-svn: 100543
|
| |
|
|
| |
llvm-svn: 100537
|
| |
|
|
|
|
|
|
| |
presence of precompiled headers by forcibly loading all of the
methods we know about from the PCH file before constructing our
code-completion list.
llvm-svn: 100535
|
| |
|
|
| |
llvm-svn: 100534
|
| |
|
|
|
|
| |
block pointer type comparison.
llvm-svn: 100533
|
| |
|
|
|
|
|
|
| |
deciding when we need to emit an extra "command failed" diagnostic.
- This also fixes the case where we were emitting that extra diagnostics, even
when using clang w/ the integrated assembler, which has good diagnostics.
llvm-svn: 100529
|
| |
|
|
|
|
|
|
|
|
| |
"id" or an expression of type "id". In these cases, we produce a list
of all of the (class or instance) methods, respectively, that we know about.
Note that this implementation does not yet work well with precompiled
headers; that's coming soon.
llvm-svn: 100528
|
| |
|
|
|
|
| |
e.g., the right-hand side of binary expressions.
llvm-svn: 100526
|
| |
|
|
|
|
| |
This bug only shows up with GCC 4.4.1 Release-Asserts build.
llvm-svn: 100516
|
| |
|
|
| |
llvm-svn: 100513
|
| |
|
|
| |
llvm-svn: 100512
|
| |
|
|
| |
llvm-svn: 100511
|
| |
|
|
|
|
| |
maybe-ownership vs. ownership.
llvm-svn: 100498
|
| |
|
|
| |
llvm-svn: 100496
|
| |
|
|
| |
llvm-svn: 100484
|
| |
|
|
|
|
| |
CheckObjCPropertyAttributes() early if the Decl* is null.
llvm-svn: 100483
|
| |
|
|
|
|
|
|
|
| |
- Unfortunately, this requires some horrible code in CGObjCMac which always
allocats a CGBitFieldInfo because we don't currently build a proper layout
for Objective-C classes. It needs to be cleaned up, but I don't want the
bit-field cleanups to be blocked on that.
llvm-svn: 100474
|
| |
|
|
|
|
|
| |
of file locations for anonymous tag types (e.g., "enum <anonymous at
t.h:15:6>"), which can get rather long.
llvm-svn: 100470
|
| |
|
|
|
|
|
|
|
| |
ASTUnit. Previously, we would end up with use-after-free errors
because the Diagnostic object would be creating in one place (say,
CIndex) and its ownership would not be transferred into the
ASTUnit. Fixes <rdar://problem/7818608>.
llvm-svn: 100464
|
| |
|
|
| |
llvm-svn: 100462
|
| |
|
|
| |
llvm-svn: 100449
|
| |
|
|
|
|
| |
returned by SetTypeSpecType.
llvm-svn: 100443
|
| |
|
|
|
|
|
|
| |
- Rename "Diagnostics" and related to "StoredDiagnostics", to better
capture what we're actually storing.
- Move SourceManager and FileManager to the heap.
llvm-svn: 100441
|
| |
|
|
| |
llvm-svn: 100433
|
| |
|
|
| |
llvm-svn: 100432
|
| |
|
|
|
|
|
| |
of macro definitions when passed to CIndex. Add test for code
completion of macros via CIndex.
llvm-svn: 100431
|
| |
|
|
|
|
| |
the callee.
llvm-svn: 100429
|
| |
|
|
|
|
| |
code can be removed.
llvm-svn: 100428
|
| |
|
|
|
|
| |
field to memcpy, memmove, and memset.
llvm-svn: 100305
|
| |
|
|
|
|
|
|
| |
instantiation declaration and no key function. We will produce the vtable at the explicit template instantiation.
Fixes PR6748
llvm-svn: 100266
|
| |
|
|
|
|
| |
assembly for testcases.
llvm-svn: 100253
|
| |
|
|
|
|
| |
when parsing. Fixes radar 7822196.
llvm-svn: 100248
|
| |
|
|
| |
llvm-svn: 100237
|
| |
|
|
|
|
|
|
| |
DeclContexts (-2 FIXMEs). We still have an annoying linear scan + hidden dependency on how Obj-C layout is done.
- This is also an algorithmic improvement in IRgen for Obj-C, although it probably doesn't matter in practice.
llvm-svn: 100228
|
| |
|
|
| |
llvm-svn: 100227
|
| |
|
|
|
|
| |
(radar 7822210).
llvm-svn: 100226
|
| |
|
|
| |
llvm-svn: 100219
|
| |
|
|
|
|
|
|
| |
invariants on the provided DeclContext.
- Doug, please see the FIXME in DeclObjC.cpp -- I am not sure what the right fix is.
llvm-svn: 100213
|
| |
|
|
|
|
|
| |
property is being accessed without the dot-syntax notation.
(radar 7822344).
llvm-svn: 100212
|
| |
|
|
| |
llvm-svn: 100210
|
| |
|
|
| |
llvm-svn: 100200
|
| |
|
|
|
|
| |
type.
llvm-svn: 100197
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
poor (and wrong) approximation of the actual rules governing when to
build a copy and when it can be elided.
The correct implementation is actually simpler than the
approximation. When we only enumerate constructors as part of
initialization (e.g., for direct initialization or when we're copying
from a class type or one of its derived classes), we don't create a
copy. When we enumerate all conversion functions, we do create a
copy. Before, we created some extra copies and missed some
others. The new test copy-initialization.cpp shows a case where we
missed creating a (required, non-elidable) copy as part of a
user-defined conversion, which resulted in a miscompile. This commit
also fixes PR6757, where the missing copy made us reject well-formed
code in the ternary operator.
This commit also cleans up our handling of copy elision in the case
where we create an extra copy of a temporary object, which became
necessary now that we produce the right copies. The code that seeks to
find the temporary object being copied has moved into
Expr::getTemporaryObject(); it used to have two different
not-quite-the-same implementations, one in Sema and one in CodeGen.
Note that we still do not attempt to perform the named return value
optimization, so we miss copy elisions for return values and throw
expressions.
llvm-svn: 100196
|
| |
|
|
|
|
| |
field to memcpy, memmove, and memset.
llvm-svn: 100193
|