| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
really shouldn't be optional. Fix the remaining place where a
temporary was being passed as potentially-aliased memory.
Fixes PR10756.
llvm-svn: 138627
|
| |
|
|
| |
llvm-svn: 138624
|
| |
|
|
| |
llvm-svn: 138617
|
| |
|
|
|
|
| |
bridged cast. Noticed by AST inspection by Ted Kremenek!
llvm-svn: 138616
|
| |
|
|
| |
llvm-svn: 138615
|
| |
|
|
| |
llvm-svn: 138614
|
| |
|
|
|
|
|
|
| |
Also convert stack-addr-ps.cpp to use the analyzer instead of just Sema, now
that it doesn't crash, and extract the stack-block test into another file since
it errors, and that prevents the analyzer from running.
llvm-svn: 138613
|
| |
|
|
|
|
|
|
|
| |
enable/disable merging of
globals during codegen.
Fixes <rdar://problem/10017909>.
llvm-svn: 138612
|
| |
|
|
| |
llvm-svn: 138611
|
| |
|
|
| |
llvm-svn: 138610
|
| |
|
|
| |
llvm-svn: 138609
|
| |
|
|
|
|
| |
the test
llvm-svn: 138607
|
| |
|
|
|
|
|
|
| |
Much to everyone's surprise, the default constructor for TypeResult produces
an instance with Invalid == false. This seems like a decision we may want to
revisit.
llvm-svn: 138601
|
| |
|
|
|
|
|
|
|
|
| |
emit call results into potentially aliased slots. This allows us
to properly mark indirect return slots as noalias, at the cost
of requiring an extra memcpy when assigning an aggregate call
result into a l-value. It also brings us into compliance with
the x86-64 ABI.
llvm-svn: 138599
|
| |
|
|
|
|
|
| |
declated method in the class belongs to a synthesized
property getter/setter. // rdar://10014946
llvm-svn: 138598
|
| |
|
|
|
|
| |
associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file
llvm-svn: 138597
|
| |
|
|
| |
llvm-svn: 138596
|
| |
|
|
|
|
|
|
|
| |
from the given source. -emit-module behaves similarly to -emit-pch,
except that Sema is somewhat more strict about the contents of
-emit-module. In the future, there are likely to be more interesting
differences.
llvm-svn: 138595
|
| |
|
|
|
|
| |
changes. // rdar://10015110
llvm-svn: 138594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of a type specifier.
e.g. for:
typedef struct _MyS {
int foo;
} MyS;
pointing at field 'foo' would give a cursor for the typedef declaration 'MyS'
instead of the field.
llvm-svn: 138593
|
| |
|
|
|
|
|
| |
a top-level module. This code is still horrible and should go away,
but we're not there yet.
llvm-svn: 138586
|
| |
|
|
|
|
|
| |
AST file, rather than waiting until we finish loading the top-level
AST file.
llvm-svn: 138585
|
| |
|
|
| |
llvm-svn: 138584
|
| |
|
|
|
|
|
| |
to "when loading a particular module" validation, since it was only
validating local information anyway. This shouldn't change anything.
llvm-svn: 138583
|
| |
|
|
|
|
|
| |
and .cpp files, since ASTReader.cpp was getting way too large. No
functionality change.
llvm-svn: 138582
|
| |
|
|
|
|
|
| |
creators to tell us whether something needs GC barriers.
No functionality change.
llvm-svn: 138581
|
| |
|
|
|
|
| |
out-of-sync how a file is compiled. Patch by Matthias Kleine!
llvm-svn: 138580
|
| |
|
|
| |
llvm-svn: 138578
|
| |
|
|
|
|
| |
should suppress false positives resulting from 'assert' and friends.
llvm-svn: 138576
|
| |
|
|
|
|
| |
chain to a proper search.
llvm-svn: 138574
|
| |
|
|
|
|
| |
search in ASTReader::ReadPreprocessedEntities().
llvm-svn: 138572
|
| |
|
|
| |
llvm-svn: 138571
|
| |
|
|
|
|
| |
as in @class foo, bar. More cleanup to follow.
llvm-svn: 138567
|
| |
|
|
|
|
|
| |
-fapple-kext.
Fixes <rdar://problem/10013310>. Reverts <rdar://problem/7809940>.
llvm-svn: 138564
|
| |
|
|
|
|
|
|
|
|
| |
redeclarations of a particular entity would occur in source
order. Friend declarations that occur within class templates (or
member classes thereof) do not follow this, nor would modules. Big
thanks to Erik Verbruggen for reducing this problem from the Very
Large Qt preamble testcase he found.
llvm-svn: 138557
|
| |
|
|
|
|
|
|
|
| |
given selector, rather than walking the chain backwards. Teach its
visitor how to merge multiple result sets into a single result set,
combining the results of selector lookup in several different modules
into a single result set.
llvm-svn: 138556
|
| |
|
|
|
|
| |
a level of indirection to handle GC vs. non-GC.
llvm-svn: 138538
|
| |
|
|
| |
llvm-svn: 138535
|
| |
|
|
|
|
| |
Patch by Chris Cudmore!
llvm-svn: 138533
|
| |
|
|
|
|
| |
(These bug types may have just been leaked before...!)
llvm-svn: 138532
|
| |
|
|
|
|
| |
highlights the allocation site) to all the relevant reports within the checker.
llvm-svn: 138531
|
| |
|
|
|
|
|
|
| |
RetainReleaseChecker.
Because Checkers live for an entire translation unit, this persists summary caches across multiple code bodies and avoids repeated initialization (but probably at the cost of memory). This removes the last references from RetainReleaseChecker to CFRefCount.
llvm-svn: 138529
|
| |
|
|
|
|
|
| |
statement initializer makes safe assumption when a substatement
is encounterred (with a fix me).
llvm-svn: 138528
|
| |
|
|
| |
llvm-svn: 138526
|
| |
|
|
|
|
| |
non-void function")
llvm-svn: 138510
|
| |
|
|
|
|
| |
in trunk.
llvm-svn: 138508
|
| |
|
|
| |
llvm-svn: 138506
|
| |
|
|
| |
llvm-svn: 138498
|
| |
|
|
| |
llvm-svn: 138497
|
| |
|
|
|
|
|
|
|
|
| |
table when serializing an AST file. This was a holdover from the days
before chained PCH, and is a complete waste of time and storage
now. It's a good thing it's useless, because I have no idea how I
would have implemented MaterializeVisibleDecls efficiently in the
presence of modules.
llvm-svn: 138496
|