| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
disposed.
llvm-svn: 144514
|
| |
|
|
|
|
|
|
|
| |
HeaderFileInfos
from the primary PCH is deserialized, otherwise we lose info that headers were
already #imported/#included.
llvm-svn: 144510
|
| |
|
|
|
|
| |
-test-load-source-reparse
llvm-svn: 144509
|
| |
|
|
| |
llvm-svn: 144508
|
| |
|
|
| |
llvm-svn: 144505
|
| |
|
|
| |
llvm-svn: 144500
|
| |
|
|
|
|
| |
literals of array type, materialise a temporary.
llvm-svn: 144483
|
| |
|
|
|
|
|
|
| |
or MemberExpr which refers to it. As a side-effect, MemberExprs which refer to
static member functions and static data members are now emitted as constant
expressions.
llvm-svn: 144468
|
| |
|
|
| |
llvm-svn: 144467
|
| |
|
|
|
|
|
|
| |
[is/set]ChangedSinceDeserialization
and remove them.
llvm-svn: 144466
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of its categories because
it is going to be rewritten (and the chain will be serialized again), otherwise we may form a cycle in its
categories list when deserializing.
Also introduce ASTMutationListener::CompletedObjCForwardRef to notify that a forward reference
was completed; using Decl's isChangedSinceDeserialization/setChangedSinceDeserialization
is bug inducing and kinda gross, we should phase it out.
Fixes infinite loop in rdar://10418538.
llvm-svn: 144465
|
| |
|
|
| |
llvm-svn: 144464
|
| |
|
|
| |
llvm-svn: 144455
|
| |
|
|
|
|
|
| |
That stuff can be added later on if we need them.
Also add some const goodness.
llvm-svn: 144446
|
| |
|
|
|
|
|
|
| |
into a submodule. Submodules aren't actually supported anywhere else,
but we do parse them, so this verifies that we're at least seeing
through them properly.
llvm-svn: 144436
|
| |
|
|
|
|
|
|
| |
module import: don't re-check for a loaded module unless we've
actually loaded a new module map file. Already-loaded module map files
aren't interesting.
llvm-svn: 144435
|
| |
|
|
|
|
|
|
| |
the module is described in one of the module maps in a search path or
in a subdirectory off the search path that has the same name as the
module we're looking for.
llvm-svn: 144433
|
| |
|
|
| |
llvm-svn: 144428
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
map, so long as they have an umbrella header. This makes it possible
to introduce a module map + umbrella header for a given set of
headers, to turn it into a module.
There are two major deficiencies here: first, we don't go hunting for
module map files when we just see a module import (so we won't know
about the modules described therein). Second, we don't yet have a way
to build modules that don't have umbrella headers, or have incomplete
umbrella headers.
llvm-svn: 144424
|
| |
|
|
| |
llvm-svn: 144412
|
| |
|
|
|
|
|
| |
the corresponding (top-level) modules. This isn't actually useful yet,
because we don't yet have a way to build modules out of module maps.
llvm-svn: 144410
|
| |
|
|
|
|
| |
declarations to actual files.
llvm-svn: 144408
|
| |
|
|
|
|
|
|
| |
to disable the corresponding -Wc++98-compat warnings in addition to the C++11
extension warnings, so that people already using these flags can switch to C++11
mode and turn on -Wc++98-compat.
llvm-svn: 144404
|
| |
|
|
|
|
| |
convention of SPECIAL_TYPE*.
llvm-svn: 144403
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Module map files provide a way to map between headers and modules, so
that we can layer a module system on top of existing headers without
changing those headers at all.
This commit introduces the module map file parser and the module map
that it generates, and wires up the module map file parser so that
we'll automatically find module map files as part of header
search. Note that we don't yet use the information stored in the
module map.
llvm-svn: 144402
|
| |
|
|
|
|
|
|
| |
superclass information is imported before validating
it. This fixes spurious "incompatible superclasses"
errors in LLDB.
llvm-svn: 144393
|
| |
|
|
|
|
| |
character, and change the creation of the FixIT's string to again just rely on this string (instead of duplicating it when calling createCXString).
llvm-svn: 144389
|
| |
|
|
| |
llvm-svn: 144386
|
| |
|
|
| |
llvm-svn: 144382
|
| |
|
|
| |
llvm-svn: 144381
|
| |
|
|
|
|
|
|
| |
terminator on fixit.
FixIts might be exposed as C string via clang_getCString(), though the zero terminator is not allocated in CXLoadedDiagnosticSetImpl::makeString.
llvm-svn: 144379
|
| |
|
|
|
|
| |
stack pressure.
llvm-svn: 144378
|
| |
|
|
|
|
| |
please the buildbots.
llvm-svn: 144375
|
| |
|
|
|
|
|
| |
DOSish output.
FIXME: For now, " = 0Parse Issueexpected ';' after expression{{XXX}}" would not be matched due to unexpected garbage{{XXX} on some hosts.
llvm-svn: 144374
|
| |
|
|
|
|
|
|
|
|
|
| |
reinstates r144273; a combination of r144333's fix for NoOp rvalue-to-lvalue
casts and some corresponding changes here resolve the regression which that
caused.
This patch also adds support for some additional forms of member function call,
along with additional testing.
llvm-svn: 144369
|
| |
|
|
|
|
| |
<rdar://problem/10403653>.
llvm-svn: 144365
|
| |
|
|
|
|
| |
guarantees alignment up to the ABI alignment of the return type.
llvm-svn: 144364
|
| |
|
|
|
|
|
| |
enclosing full-expressions. It is somewhat amazing that
this hasn't come up as a problem before.
llvm-svn: 144362
|
| |
|
|
|
|
| |
Atanasyan.
llvm-svn: 144358
|
| |
|
|
|
|
| |
libclang.exports in r144343
llvm-svn: 144357
|
| |
|
|
|
|
| |
qualifier. PR11354. (operator bool() is evil!)
llvm-svn: 144355
|
| |
|
|
|
|
|
|
|
| |
including a test case for no issues, multiple issues, and
a single issue. Along the way, tweak c-index-test -read-diagnostics output so it is easier to tell what diagnostics are
child diagnostics.
llvm-svn: 144349
|
| |
|
|
|
|
| |
diagnostics in the future. Make it so.
llvm-svn: 144347
|
| |
|
|
|
|
|
|
| |
Cut down the number of callbacks to more generic ones. Clients can check
an enum to find out what kind of declaration it is and they can call functions
to get more specific information than the generic provided info.
llvm-svn: 144343
|
| |
|
|
| |
llvm-svn: 144342
|
| |
|
|
|
|
| |
specific behavior from -fms-extensions to -fms-compatibility.
llvm-svn: 144341
|
| |
|
|
|
|
| |
of seeing if the predecessor node was a non-StmtPoint, check if it is specifically a BlockEntrance node.
llvm-svn: 144340
|
| |
|
|
|
|
| |
diagnostics to a file.
llvm-svn: 144339
|
| |
|
|
|
|
|
|
|
|
| |
them when performing a const conversion on the implicit object argument for a
member operator call on an rvalue.
No change to the testsuite: the test for this change is that the added
assertion does not fire any more.
llvm-svn: 144333
|
| |
|
|
|
|
| |
stmts, entering a basic block, or analyzing non-consumed expressions. This sigificantly speeds up analysis time, and reduces analysis time down to 27% less than before we linearized the CFG.
llvm-svn: 144332
|