- Nov 23, 2009
-
-
John Thompson authored
llvm-svn: 89677
-
Sebastian Redl authored
Intercept sizeof and alignof references before they get into ASTContext methods. This fixes a crash when writing sizeof(Incomplete&), and lets ASTContext's methods do the right thing for CodeGen, which fixes PR5590. llvm-svn: 89668
-
Rafael Espindola authored
*) the ../backward dir is the last in libstdc++ to be searched *) If compiling c++, the c++ headers are searched first llvm-svn: 89661
-
Sebastian Redl authored
llvm-svn: 89657
-
Douglas Gregor authored
functions for a switch condition's conversion to integral or enumeration type. llvm-svn: 89656
-
Douglas Gregor authored
integral or enumeration type (vi user-defined conversions). Fixes PR5518. llvm-svn: 89655
-
Douglas Gregor authored
their template parameter depth and position, so that we can match redeclarations appropriately. Fixes PR5527 and PR5528. llvm-svn: 89654
-
Douglas Gregor authored
of the current instantiation and members of an unknown specialization when type-checking a qualified-if expression. llvm-svn: 89653
-
Douglas Gregor authored
llvm-svn: 89652
-
Douglas Gregor authored
complaint to a warning and providing a helpful node in the case where the "template<>" header is redundant because the corresponding template-id refers to an explicit specialization. C++0x might still change this behavior, and existing practice is all over the place on the number of "template<>" headers actually needed. llvm-svn: 89651
-
Douglas Gregor authored
llvm-svn: 89650
-
Douglas Gregor authored
llvm-svn: 89649
-
Zhongxing Xu authored
llvm-svn: 89643
-
Zhongxing Xu authored
in the checker directly. But I don't have a better approach for now. llvm-svn: 89640
-
John McCall authored
a new class. Use it pervasively throughout Sema. My fingers hurt. llvm-svn: 89638
-
Daniel Dunbar authored
llvm-svn: 89633
-
Daniel Dunbar authored
- Ideally we would have an single iteration interface for this, but this works for now. llvm-svn: 89632
-
- Nov 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 89630
-
Daniel Dunbar authored
llvm-svn: 89629
-
John McCall authored
llvm-svn: 89624
-
Ted Kremenek authored
Change CheckDeadStores to use Expr::isNullPointerConstant, which will correctly determine whether an expression is a null pointer constant. Patch by Kovarththanan Rajaratnam! llvm-svn: 89621
-
Anders Carlsson authored
llvm-svn: 89613
-
Anders Carlsson authored
When laying out bitfields, make sure that the data size is always aligned to a byte. This fixes PR5580. llvm-svn: 89611
-
Anders Carlsson authored
llvm-svn: 89604
-
Ken Dyck authored
llvm-svn: 89598
-
Ken Dyck authored
llvm-svn: 89597
-
Zhongxing Xu authored
Undefined compound assignment result is checked in UndefinedAssignmentChecker. So this check is redundant. llvm-svn: 89592
-
Zhongxing Xu authored
llvm-svn: 89591
-
Zhongxing Xu authored
llvm-svn: 89590
-
Benjamin Kramer authored
llvm-svn: 89587
-
Zhongxing Xu authored
llvm-svn: 89585
-
John McCall authored
operand of an addressof operator, and so we should not treat it as an abstract member-pointer expression and therefore suppress the implicit member access. This is really a well-formedness constraint on expressions: a DeclRefExpr of a FieldDecl or a non-static CXXMethodDecl (or template thereof, or unresolved collection thereof) should not be allowed in an arbitrary location in the AST. Arguably it shouldn't be allowed anywhere and we should have a different expr node type for this. But unfortunately we don't have a good way of enforcing this kind of constraint right now. llvm-svn: 89578
-
John McCall authored
llvm-svn: 89575
-
John McCall authored
this information through lookup rather than rederiving it. llvm-svn: 89570
-
Anders Carlsson authored
llvm-svn: 89569
-
- Nov 21, 2009
-
-
Fariborz Jahanian authored
type and fixes a long-standing code gen. crash reported in at least two PRs and a radar. (radar 7405040 and pr5025). There are couple of remaining issues that I would like for Ted. and Doug to look at: Ted, please look at failure in Analysis/MissingDealloc.m. I have temporarily added an expected-warning to make the test pass. This tests has a declaration of 'SEL' type which may not co-exist with the new changes. Doug, please look at a FIXME in PCHWriter.cpp/PCHReader.cpp. I think the changes which I have ifdef'ed out are correct. They need be considered for in a few Indexer/PCH test cases. llvm-svn: 89561
-
Ted Kremenek authored
Make FixedAddressChecker and experimental check; it currently produces a ton of false positives when analyzing some projects (e.g., Wine). llvm-svn: 89560
-
John McCall authored
threading that state. llvm-svn: 89557
-
Daniel Dunbar authored
- Several important FIXMEs related to whether arguments are expressions or external names, and the mangling of extern "C" names (c.f., PR5522). llvm-svn: 89556
-
Daniel Dunbar authored
- Sometimes we have to mangle things we wouldn't normally (e.g., because they appear in a template expression). - This also tidies up the predicate to be more obvious what is getting mangled. llvm-svn: 89555
-