| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
argument deduction
llvm-svn: 138787
|
| |
|
|
|
|
| |
Johannes Schaub for talking me around to sense.
llvm-svn: 138784
|
| |
|
|
| |
llvm-svn: 138776
|
| |
|
|
|
|
|
|
|
|
| |
nits:
- wrong alignment for double (it was 4, but 8 is desired),
- added checks for _REENTRANT define,
- fixed the issue that defines were not tested (because the check for inside #ifdef).
llvm-svn: 138775
|
| |
|
|
|
|
| |
annotations. We identify situations where we are accessing (reading or writing) guarded variables, and report an error if the appropriate locks are not held.
llvm-svn: 138774
|
| |
|
|
|
|
| |
group decls.
llvm-svn: 138772
|
| |
|
|
| |
llvm-svn: 138769
|
| |
|
|
|
|
| |
existing API. Thanks Jordy.
llvm-svn: 138765
|
| |
|
|
|
|
| |
on the previous commit.)
llvm-svn: 138762
|
| |
|
|
|
|
|
|
| |
when analyzing ICU.
Patch by Jean-Daniel Dupas. Thanks for spotting and fixing!
llvm-svn: 138757
|
| |
|
|
|
|
| |
by Will Dietz. PR10692.
llvm-svn: 138753
|
| |
|
|
|
|
| |
No change in functionality.
llvm-svn: 138742
|
| |
|
|
|
|
|
| |
features, so clients can check for the availability of these features
even before we get around to implementing them.
llvm-svn: 138741
|
| |
|
|
|
|
| |
This patch is by DeLesley Hutchins.
llvm-svn: 138738
|
| |
|
|
|
|
|
|
|
| |
qualification of a type doesn't affect whether a conversion is a narrowing
conversion.
This doesn't work in template cases because SubstTemplateTypeParmType gets in
the way.
llvm-svn: 138735
|
| |
|
|
|
|
| |
This matches gcc's logic. Second half of PR10661.
llvm-svn: 138730
|
| |
|
|
|
|
|
|
|
|
| |
debug-printing the contents of a ProgramState.
Unlike the other callbacks, this one is a simple virtual method, since it is only to be used for debugging.
This new callback replaces the old ProgramState::Printer interface, and allows us to move the printing of refcount bindings from CFRefCount to RetainReleaseChecker.
llvm-svn: 138728
|
| |
|
|
|
|
| |
were ignoring it anyway. No functionality change.
llvm-svn: 138720
|
| |
|
|
| |
llvm-svn: 138719
|
| |
|
|
|
|
|
|
| |
This is a common path for function and C++ method calls, Objective-C messages and property accesses, and C++ construct-exprs.
As support, add message receiver accessors to ObjCMessage and CallOrObjCMessage.
llvm-svn: 138718
|
| |
|
|
|
|
|
|
|
|
| |
explicitly requested for invalidation.
Also, allow CallOrObjCMessage to wrap a CXXConstructExpr as well.
Finally, this allows us to remove the clunky whitelisting system from CFRefCount/RetainReleaseChecker. Slight regression due to CXXNewExprs not yet being handled in post-statement callbacks (PR forthcoming).
llvm-svn: 138716
|
| |
|
|
|
|
|
|
|
|
|
| |
to varargs functions in unevaluated contexts. AFAICT, there is no
standards justification for this, but it matches what other compilers do
and therefore preserves compatibility with certain template metaprogramming
idioms.
Should fix self-host.
llvm-svn: 138715
|
| |
|
|
|
|
|
| |
to class implementation where it is supposed to be
implemented. // rdar://10009982.
llvm-svn: 138714
|
| |
|
|
|
|
| |
HandlePathDiagnosticImpl(), and slot in new HandlePathDiagnostic() for potentially handling concurrent access to PathDiagnosticClients (in the future).
llvm-svn: 138713
|
| |
|
|
|
|
| |
its own method. No real functionality change.
llvm-svn: 138712
|
| |
|
|
|
|
|
|
|
|
| |
, such as list of forward @class decls, in a DeclGroup
node. Deal with its consequence throught clang. This
is in preparation for more Sema work ahead. // rdar://8843851.
Feel free to reverse if it breaks something important
and I am unavailable.
llvm-svn: 138709
|
| |
|
|
| |
llvm-svn: 138707
|
| |
|
|
|
|
|
|
|
| |
__import__ within the preprocessor, since the prior one foolishly
assumed that Preprocessor::Lex() was re-entrant. We now handle
__import__ at the top level (only), after macro expansion. This should
fix the buildbot failures.
llvm-svn: 138704
|
| |
|
|
|
|
|
| |
of default argument promotion and needs to happen unconditionally.
This is particularly semantically important in C++0x.
llvm-svn: 138691
|
| |
|
|
| |
llvm-svn: 138689
|
| |
|
|
|
|
| |
pointer variable. Patch by David Blaikie!
llvm-svn: 138687
|
| |
|
|
|
|
| |
David Blaikie
llvm-svn: 138684
|
| |
|
|
| |
llvm-svn: 138681
|
| |
|
|
|
|
| |
StringRef::getAsInteger can handle as its second argument
llvm-svn: 138680
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loads the named module. The syntax itself is intentionally hideous and
will be replaced at some later point with something more
palatable. For now, we're focusing on the semantics:
- Module imports are handled first by the preprocessor (to get macro
definitions) and then the same tokens are also handled by the parser
(to get declarations). If both happen (as in normal compilation),
the second one is redundant, because we currently have no way to
hide macros or declarations when loading a module. Chris gets credit
for this mad-but-workable scheme.
- The Preprocessor now holds on to a reference to a module loader,
which is responsible for loading named modules. CompilerInstance is
the only important module loader: it now knows how to create and
wire up an AST reader on demand to actually perform the module load.
- We search for modules in the include path, using the module name
with the suffix ".pcm" (precompiled module) for the file name. This
is a temporary hack; we hope to improve the situation in the
future.
llvm-svn: 138679
|
| |
|
|
| |
llvm-svn: 138674
|
| |
|
|
|
|
| |
of the migrated files. rdar://10022801
llvm-svn: 138671
|
| |
|
|
| |
llvm-svn: 138670
|
| |
|
|
|
|
| |
are lexically within a particular DeclContext. Test forthcoming.
llvm-svn: 138668
|
| |
|
|
|
|
| |
for catching this.
llvm-svn: 138666
|
| |
|
|
|
|
|
|
| |
cases we want the prefix to be the original file name less the suffix. For an
input such as test.c to named temporary would be something like test-3O4Clq.o
Part of <rdar://problem/8314451>
llvm-svn: 138662
|
| |
|
|
|
|
|
|
|
|
|
| |
after having already deserialized the fields, clear out the fields
first. This makes sure that we keep all of the declarations in the
lexical context (including those implicitly added by later
type-checking) within the same list. A test case for this behavior is
coming as part of another commit; testing for this problem in
isolation is a nightmare.
llvm-svn: 138661
|
| |
|
|
|
|
|
| |
finding life-time conflict with its declared ivar.
// rdar://10007230
llvm-svn: 138659
|
| |
|
|
|
|
| |
emit all gl-value arguments as reference bindings.
llvm-svn: 138655
|
| |
|
|
| |
llvm-svn: 138649
|
| |
|
|
|
|
| |
PR10766.
llvm-svn: 138648
|
| |
|
|
|
|
| |
deleted operators. Fixes PR10757.
llvm-svn: 138645
|
| |
|
|
| |
llvm-svn: 138639
|
| |
|
|
|
|
|
| |
the crazy comma expression so that we get an r-value in the
varargs position.
llvm-svn: 138638
|
| |
|
|
|
|
| |
<rdar://problem/10027287>
llvm-svn: 138637
|