llvm-project/clang/lib/AST
Chris Lattner 237f27573f Several related changes:
1) implement parser and sema support for reading and verifying attribute(warnunusedresult).
2) rename hasLocalSideEffect to isUnusedResultAWarning, inverting the sense
   of its result.
3) extend isUnusedResultAWarning to directly return the loc and range 
   info that should be reported to the user.  Make it substantially more
   precise in some cases than what was previously reported.
4) teach isUnusedResultAWarning about CallExpr to decls that are 
   pure/const/warnunusedresult, fixing a fixme.
5) change warn_attribute_wrong_decl_type to not pass in english strings, instead,
   pass in integers and use %select.

llvm-svn: 64543
2009-02-14 07:37:35 +00:00
..
APValue.cpp Support evaluation of vector constant expressions, and codegen of same. 2009-01-18 03:20:47 +00:00
ASTConsumer.cpp Remove unused ASTConsumer::HandleTopLevelDeclaration 2008-07-25 22:39:30 +00:00
ASTContext.cpp Initial implementation of arbitrary fixed-width integer types. 2009-02-13 02:31:07 +00:00
Builtins.cpp Make it possible for builtins to expression FILE* arguments, so that 2009-02-14 01:52:53 +00:00
CFG.cpp Remove DeclGroupOwningRef, since we intend for declarations to be owned 2009-02-13 19:06:18 +00:00
CMakeLists.txt Basic representation of C++ class templates, from Andrew Sutton. 2009-02-04 19:02:06 +00:00
Decl.cpp Implicitly declare certain C library functions (malloc, strcpy, memmove, 2009-02-13 23:20:09 +00:00
DeclBase.cpp Basic representation of C++ class templates, from Andrew Sutton. 2009-02-04 19:02:06 +00:00
DeclCXX.cpp Basic representation of C++ class templates, from Andrew Sutton. 2009-02-04 19:02:06 +00:00
DeclGroup.cpp Remove DeclGroupOwningRef, since we intend for declarations to be owned 2009-02-13 19:06:18 +00:00
DeclObjC.cpp Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate(). 2009-01-27 21:25:57 +00:00
DeclSerialization.cpp Refactor FieldDecls to be ValueDecls instead of NamedDecls. 2009-02-10 20:06:48 +00:00
DeclTemplate.cpp Allow the use of default template arguments when forming a class 2009-02-11 18:16:40 +00:00
DeclarationName.cpp Semantic analysis, ASTs, and unqualified name lookup support for C++ 2009-02-03 19:21:40 +00:00
Expr.cpp Several related changes: 2009-02-14 07:37:35 +00:00
ExprCXX.cpp Overhaul of Stmt allocation: 2009-02-07 01:47:29 +00:00
ExprConstant.cpp Teach the constant evaluator about C++ const integral variables. 2009-02-08 15:51:17 +00:00
InheritViz.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
ParentMap.cpp Dead stores checker: Fix <rdar://problem/6506065> by being more selective when say that a store is dead even though the computed value is used in the enclosing expression. 2009-01-20 00:47:45 +00:00
Stmt.cpp Remove DeclGroupOwningRef, since we intend for declarations to be owned 2009-02-13 19:06:18 +00:00
StmtDumper.cpp Semantic analysis, ASTs, and unqualified name lookup support for C++ 2009-02-03 19:21:40 +00:00
StmtIterator.cpp Remove ScopedDecl, collapsing all of its functionality into Decl, so 2009-01-20 01:17:11 +00:00
StmtPrinter.cpp Add private extern to pretty printer(s). 2009-02-10 23:49:50 +00:00
StmtSerialization.cpp Remove DeclGroupOwningRef, since we intend for declarations to be owned 2009-02-13 19:06:18 +00:00
StmtViz.cpp Migrate DeclStmt over to using a DeclGroup instead of a pointer to a ScopedDecl*. 2008-10-07 23:09:49 +00:00
TranslationUnit.cpp Remove the TopLevelDecls from TranslationUnit, since all of those decls are owned by the ASTContext's TranslationUnitDecl. There are definitely some leaking Decls now that I'll tackle tomorrow 2009-01-20 04:25:11 +00:00
Type.cpp Initial implementation of arbitrary fixed-width integer types. 2009-02-13 02:31:07 +00:00
TypeSerialization.cpp Start processing template-ids as types when the template-name refers 2009-02-09 18:46:07 +00:00