| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
GVN,
per Chris' comments. Adjust testcases to match.
llvm-svn: 90304
|
| |
|
|
|
|
|
| |
isVirtual() before we've actually calculated whether the destructor is
virtual.
llvm-svn: 90303
|
| |
|
|
| |
llvm-svn: 90302
|
| |
|
|
|
|
| |
it's rare, but possible, for the difference to be significant.
llvm-svn: 90301
|
| |
|
|
|
|
|
|
|
|
| |
files with the contents of an arbitrary memory buffer. Use this new
functionality to drastically clean up the way in which we handle file
truncation for code-completion: all of the truncation/completion logic
is now encapsulated in the preprocessor where it belongs
(<rdar://problem/7434737>).
llvm-svn: 90300
|
| |
|
|
| |
llvm-svn: 90299
|
| |
|
|
| |
llvm-svn: 90298
|
| |
|
|
|
|
| |
EmitMemCpy.
llvm-svn: 90297
|
| |
|
|
|
|
|
|
|
|
|
| |
we don't need to use the DoneEvaluation hack when check for
ObjCMessageExpr.
PreVisitObjCMessageExpr() only checks for undefined receiver or arguments.
Add checker interface EvalNilReceiver(). This is a 'once-and-done' interface.
llvm-svn: 90296
|
| |
|
|
| |
llvm-svn: 90295
|
| |
|
|
|
|
| |
ContentCache
llvm-svn: 90294
|
| |
|
|
| |
llvm-svn: 90293
|
| |
|
|
| |
llvm-svn: 90292
|
| |
|
|
| |
llvm-svn: 90291
|
| |
|
|
| |
llvm-svn: 90290
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
there's nothing interesting we can say now that we're correctly not requiring
the qualifier to name a known base class in dependent contexts.
Require scope specifiers on member access expressions to name complete types
if they're not dependent; delay lookup when they are dependent.
Use more appropriate diagnostics when qualified implicit member access
expressions find declarations from unrelated classes.
llvm-svn: 90289
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(clang/driver) command line arguments (including the source file).
- The arguments are expected to include the source file.
- The idea is that even though this is a somewhat odd API, its the form which
many tools can most easily use (for example, by interposing with the compiler).
Also, switch index-test's -ast-from-source to use this entry point, and provide
a -arg command line argument which can be used to test that the command line
arguments are handled correctly.
llvm-svn: 90288
|
| |
|
|
|
|
| |
used to create a particular command.
llvm-svn: 90287
|
| |
|
|
| |
llvm-svn: 90285
|
| |
|
|
|
|
| |
Fixes pr5660.
llvm-svn: 90283
|
| |
|
|
|
|
| |
declaration entry.
llvm-svn: 90282
|
| |
|
|
| |
llvm-svn: 90281
|
| |
|
|
|
|
|
|
|
|
| |
source locations with no common ancestor in the include stack, determine order by assuming memory buffers preceed files, and then that FileIDs are created in order.
The later assumption is patently false, but this was already broken -- this situation is conceptually impossible, my feeling is we should fix SourceManager and friends to make it impossible in practice as well. However, we need to fix PR5662 and perhaps some other things involving memory buffers first. In the short term I'm pretty sure this is reliable.
Chris, Argiris, is this going to break anything that wasn't already broken?
llvm-svn: 90280
|
| |
|
|
| |
llvm-svn: 90277
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in diagnostics when we fail to open a file. This allows us to
report things like:
$ clang test.c -I.
test.c:2:10: fatal error: error opening file './foo.h': Permission denied
#include "foo.h"
^
llvm-svn: 90276
|
| |
|
|
|
|
| |
instead of returning an ambiguous reason.
llvm-svn: 90275
|
| |
|
|
| |
llvm-svn: 90274
|
| |
|
|
|
|
| |
"Fixes" PR5645.
llvm-svn: 90272
|
| |
|
|
| |
llvm-svn: 90271
|
| |
|
|
|
|
| |
Gets clang-on-clang passing again.
llvm-svn: 90270
|
| |
|
|
|
|
|
|
| |
- A valno should be set HasRedefByEC if there is an early clobber def in the middle of its live ranges. It should not be set if the def of the valno is defined by an early clobber.
- If a physical register def is tied to an use and it's an early clobber, it just means the HasRedefByEC is set since it's still one continuous live range.
- Add a couple of missing checks for HasRedefByEC in the coalescer. In general, it should not coalesce a vr with a physical register if the physical register has a early clobber def somewhere. This is overly conservative but that's the price for using such a nasty inline asm "feature".
llvm-svn: 90269
|
| |
|
|
| |
llvm-svn: 90268
|
| |
|
|
| |
llvm-svn: 90267
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implicit member access to a specific declaration, go ahead and create
it as a DeclRefExpr or a MemberExpr (with implicit CXXThisExpr base) as
appropriate. Otherwise, create an UnresolvedMemberExpr or
DependentScopeMemberExpr with a null base expression.
By representing implicit accesses directly in the AST, we get the ability
to correctly delay the decision about whether it's actually an instance
member access or not until resolution is complete. This permits us
to correctly avoid diagnosing the 'problem' of 'MyType::foo()'
where the relationship to the type isn't really known until instantiation.
llvm-svn: 90266
|
| |
|
|
| |
llvm-svn: 90264
|
| |
|
|
| |
llvm-svn: 90263
|
| |
|
|
| |
llvm-svn: 90262
|
| |
|
|
|
|
| |
to use it so it at least won't try to access Sema once it is gone.
llvm-svn: 90261
|
| |
|
|
| |
llvm-svn: 90260
|
| |
|
|
| |
llvm-svn: 90258
|
| |
|
|
| |
llvm-svn: 90257
|
| |
|
|
|
|
|
| |
framework omits differentiated edge sources in the case where the labels
are empty strings.
llvm-svn: 90254
|
| |
|
|
| |
llvm-svn: 90253
|
| |
|
|
| |
llvm-svn: 90252
|
| |
|
|
|
|
| |
time. :/
llvm-svn: 90251
|
| |
|
|
|
|
|
|
| |
command line to the input file.
We passed <built-in> on the way in, so we should pass it again on the way out.
llvm-svn: 90250
|
| |
|
|
|
|
|
|
|
| |
implementation
of a subclass (direct or indirect) of a weak_import root class, emit a weak reference
for the root class's metaclass (should complete radar 6815425).
llvm-svn: 90249
|
| |
|
|
|
|
| |
if DW_TAG_subprogram for current function is not found.
llvm-svn: 90247
|
| |
|
|
| |
llvm-svn: 90246
|
| |
|
|
|
|
| |
recursive logic in the methods of ScanReachableSymbols.
llvm-svn: 90245
|