llvm-project/clang/lib
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
..
AST Several related changes: 2009-02-14 07:37:35 +00:00
Analysis GRExprEngine: Handle empty statement expressions. 2009-02-14 05:55:08 +00:00
Basic Give TargetInfo a new IntPtrType to hold the intptr_t type for 2009-02-13 22:28:55 +00:00
CodeGen x86_64 ABI: Need to use canonical types when comparing against 2009-02-14 02:45:45 +00:00
Driver use some references to simplify code. 2009-02-08 01:00:10 +00:00
Headers Fix more xmmintrin.h typos 2009-02-14 04:01:38 +00:00
Lex add an assertion from Alexei Svitkine! 2009-02-13 23:06:48 +00:00
Parse Several related changes: 2009-02-14 07:37:35 +00:00
Rewrite Fix rdar://6562329, a static analyzer crash Ted noticed on 2009-02-13 19:33:24 +00:00
Sema Several related changes: 2009-02-14 07:37:35 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00