- Jul 23, 2009
-
-
Devang Patel authored
Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file. llvm-svn: 76834
-
Ted Kremenek authored
llvm-svn: 76833
-
Ted Kremenek authored
llvm-svn: 76832
-
Ted Kremenek authored
llvm-svn: 76831
-
Steve Naroff authored
- Move Sema::ObjCQualifiedIdTypesAreCompatible(), Sema::QualifiedIdConformsQualifiedId(), and a couple helper functions to ASTContext. - Change ASTContext::canAssignObjCInterfaces() to use ASTContext:: ObjCQualifiedIdTypesAreCompatible(). - Tweak several test cases to accommodate the new/improved type checking. llvm-svn: 76830
-
Eric Christopher authored
llvm-svn: 76829
-
Reid Kleckner authored
out of memory, and also make the default memory manager allocate more memory when it runs out. Also, switch function stubs and global data over to using the BumpPtrAllocator. This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB of memory, and instead allocates in 512K slabs. I suspect this size could go lower, especially on embedded platforms, now that more slabs can be allocated. llvm-svn: 76828
-
Fariborz Jahanian authored
CXXBaseOrMemberInitializer AST node. Needed by its clients to do the initialization. llvm-svn: 76826
-
Reid Kleckner authored
malloc, so there should be no functional changes to other code. These changes are necessary since I have plans to use this allocator in the JIT memory manager, and it needs a special allocator. I also added some tests which helped me pinpoint some bugs. llvm-svn: 76825
-
Mike Stump authored
filesystems. llvm-svn: 76824
-
Dan Gohman authored
llvm-svn: 76823
-
Mike Stump authored
value. This is on by default, and controlled by -Wreturn-type (-Wmost -Wall). I believe there should be very few false positives, though the most interesting case would be: int() { bar(); } when bar does: bar() { while (1) ; } Here, we assume functions return, unless they are marked with the noreturn attribute. I can envision a fixit note for functions that never return normally that don't have a noreturn attribute to add a noreturn attribute. If anyone spots other false positives, let me know! llvm-svn: 76821
-
Douglas Gregor authored
templates, e.g., template<typename T> struct Outer { struct Inner; }; template<typename T> struct Outer<T>::Inner { // ... }; Implementing this feature required some extensions to ActOnTag, which now takes a set of template parameter lists, and is the precursor to removing the ActOnClassTemplate function from the parser Action interface. The reason for this approach is simple: the parser cannot tell the difference between a class template definition and the definition of a member of a class template; both have template parameter lists, and semantic analysis determines what that template parameter list means. There is still some cleanup to do with ActOnTag and ActOnClassTemplate. This commit provides the basic functionality we need, however. llvm-svn: 76820
-
Chris Lattner authored
a better solution for it in the future. llvm-svn: 76818
-
Dan Gohman authored
llvm-svn: 76817
-
Eli Friedman authored
llvm-svn: 76816
-
Argyrios Kyrtzidis authored
Now when creating a Preprocessor we can pass it a temporary LangOptions object instead of having to remember to keep it around. llvm-svn: 76815
-
Mike Stump authored
llvm-svn: 76814
-
Mike Stump authored
llvm-svn: 76813
-
Dan Gohman authored
llvm-svn: 76812
-
Dan Gohman authored
llvm-svn: 76811
-
Dan Gohman authored
which stand for no-unsigned-wrap and no-signed-wrap. llvm-svn: 76810
-
Ted Kremenek authored
Educate GRExprEngine::VisitGraph() about 'PreStmt'. Mark the constructor of 'PostStmt' to be explicit, preventing implicit conversions and the selection of the wrong 'generateNode' method in GRStmtNodeBuilder. Constify a bunch of arguments, which falls out of the changes to ProgramPoint. llvm-svn: 76809
-
David Greene authored
Reorder if-else branches as suggested by Bill. llvm-svn: 76808
-
Eli Friedman authored
llvm-svn: 76807
-
David Goodwin authored
llvm-svn: 76806
-
Dan Gohman authored
llvm-svn: 76805
-
Douglas Gregor authored
Calls to Sema::MatchTemplateParametersToScopeSpecifier should not depend on the order of evaluation of their arguments to be correct. llvm-svn: 76804
-
Evan Cheng authored
llvm-svn: 76803
-
Dan Gohman authored
unintended matches. llvm-svn: 76802
-
- Jul 22, 2009
-
-
David Greene authored
Constify the key in Mi2IndexMap. llvm-svn: 76801
-
Ted Kremenek authored
llvm-svn: 76800
-
Evan Cheng authored
llvm-svn: 76799
-
Ted Kremenek authored
llvm-svn: 76798
-
Ted Kremenek authored
'Checker' interface. An updated test case illustrates that after calling a function with the 'nonnull' attribute we now register the fact that the passed pointer must be non-null. This retention of information was not possible with the previously used GRSimpleAPICheck interface. llvm-svn: 76797
-
Eli Friedman authored
definitions. I'm not very familiar with this code, so please review. llvm-svn: 76796
-
Ted Kremenek authored
llvm-svn: 76795
-
Ted Kremenek authored
Add a 'previsit' stage (that dispatches to registered Checkers) when evaluating the effects of CallExprs. llvm-svn: 76794
-
Ted Kremenek authored
interface to plug in domain-specific checker logic than the current GRSimpleAPICheck interface. The new 'Checker' interface can actually generate new nodes, allowing it to modify the state and refine the analysis (which GRSimpleAPIChecks could not). llvm-svn: 76793
-
Ted Kremenek authored
llvm-svn: 76792
-