| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 138493
|
| |
|
|
|
|
|
|
|
|
|
|
| |
which supports both pre-order and post-order traversal via a visitor
mechanism. Use this depth-first search with a post-order traversal to
give predictable ordering semantics when walking all of the lexical
declarations in the translation unit.
Eventually, module imports will occur in the source code rather than
at the beginning, and we'll have to revisit this walk.
llvm-svn: 138490
|
| |
|
|
|
|
| |
wrong patch.
llvm-svn: 138489
|
| |
|
|
|
|
| |
pointing to the allocation site when reporting a leak.
llvm-svn: 138479
|
| |
|
|
|
|
| |
Cameron.
llvm-svn: 138477
|
| |
|
|
|
|
|
|
| |
preparation for getting rid of CFRefCount.
This is a little hacky for now but will get better once we decide the best way to handle this.
llvm-svn: 138476
|
| |
|
|
| |
llvm-svn: 138475
|
| |
|
|
|
|
| |
accosiated with the report. (Useful when we report an error on endOfPath or deadSymbols, when the range of the last expression might have nothing to do with the error.)
llvm-svn: 138474
|
| |
|
|
| |
llvm-svn: 138470
|
| |
|
|
|
|
|
|
| |
CFDictionaryCreate.
This is a very small regression (actually introduced in r138309) because it won't catch leaks of objects passed by reference to CFDictionaryCreate (they're considered to have escaped and are ignored). If this is important we can put in a specific eval::Call to restore the functionality.
llvm-svn: 138464
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
module DAG-based lookup scheme. This required some reshuffling, so
that each module stores its own mapping from DeclContexts to their
lexical and visible sets for those DeclContexts (rather than one big
"chain").
Overall, this allows simple qualified name lookup into the translation
unit to gather results from multiple modules, with the lookup results
in module B shadowing the lookup results in module A when B imports A.
Walking all of the lexical declarations in a module DAG is still a
mess; we'll end up walking the loaded module list backwards, which
works fine for chained PCH but doesn't make sense in a DAG. I'll
tackle this issue as a separate commit.
llvm-svn: 138463
|
| |
|
|
|
|
| |
the relative ordering of path-sensitive and path-insensitive checks. Still not ideal, but I think a real fix would require infrastructure that doesn't exist yet.
llvm-svn: 138462
|
| |
|
|
|
|
| |
in comments and start a couple methods with a lowercase letter
llvm-svn: 138460
|
| |
|
|
| |
llvm-svn: 138451
|
| |
|
|
|
|
| |
VerifyDiagnosticsClient on several input files.
llvm-svn: 138434
|
| |
|
|
|
|
| |
Hopefully a better fix coming soon. See comment for more details.
llvm-svn: 138432
|
| |
|
|
|
|
| |
138405. Ended up unrelated to any problems.
llvm-svn: 138431
|
| |
|
|
|
|
| |
test because this particular circumstance requires an impossible series of events, but this is future-proofing.)
llvm-svn: 138430
|