summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* move the linux predefined macro definition to the TargetInfo, where it ↵Nuno Lopes2008-07-052-5/+5
| | | | | | really belongs llvm-svn: 53149
* predefine the macro linux when compiled on a linux system. this fixes the ↵Nuno Lopes2008-07-051-0/+5
| | | | | | build of libtidy llvm-svn: 53145
* llvm-ld doesnt support -O1, -O2, etc options, so dont pass themNuno Lopes2008-07-051-3/+1
| | | | llvm-svn: 53144
* add gentoo stable gcc headers path so that all tests pass here (CPATH isnt ↵Nuno Lopes2008-07-051-0/+4
| | | | | | enough..) llvm-svn: 53143
* Fix warningsSeo Sanghyeon2008-07-052-2/+3
| | | | llvm-svn: 53141
* Remove unused diagnostic.Argyrios Kyrtzidis2008-07-041-2/+0
| | | | llvm-svn: 53140
* Fixed bugzilla bug# 2489.Sanjiv Gupta2008-07-041-0/+20
| | | | | | This was broken when the GenerateCode function was splitted to use GenerateFunction. llvm-svn: 53136
* '&&' commands together so that the test status reflects the results of all ↵Argyrios Kyrtzidis2008-07-042-2/+2
| | | | | | the commands, otherwise the test status will be the result of only the last command. llvm-svn: 53135
* Fix warningsSeo Sanghyeon2008-07-042-4/+4
| | | | llvm-svn: 53133
* '&&' clang commands together so that the test status reflects the results of ↵Ted Kremenek2008-07-041-2/+2
| | | | | | all three clang executions. llvm-svn: 53132
* Update latest checker build.Ted Kremenek2008-07-031-1/+1
| | | | llvm-svn: 53129
* Use conjured symbols for variables whose values are invalidated whenTed Kremenek2008-07-031-0/+27
| | | | | | | | passed-by-reference to a function. This allows us to build up constraints for their new values and restore some lost path-sensitivity. This addresses a few false positives since in Adium. llvm-svn: 53125
* Remove removed header.Bill Wendling2008-07-031-1/+0
| | | | llvm-svn: 53121
* Updated latest checker build.Ted Kremenek2008-07-031-1/+1
| | | | llvm-svn: 53118
* Fix a bug in the dead stores checker reported in the following email:Ted Kremenek2008-07-032-3/+47
| | | | | | | | | | http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002157.html Essentially the observer mechanism in LiveVariables was observing block-level expressions multiple times, leading to a case where the dead store checker could see a value as dead when it was really live. llvm-svn: 53115
* Have ccc-analyzer skip any files with an unknown (or absent) extension.Ted Kremenek2008-07-031-1/+3
| | | | llvm-svn: 53114
* add c++ status to sidebarChris Lattner2008-07-031-0/+1
| | | | llvm-svn: 53107
* Updated latest checker build.Ted Kremenek2008-07-031-1/+1
| | | | llvm-svn: 53103
* Skip the "-dealloc" check if a ObjC class contains no ivars.Ted Kremenek2008-07-032-4/+9
| | | | llvm-svn: 53100
* Added an "ivar_empty" method to ObjCInterfaceDecl.Ted Kremenek2008-07-031-0/+1
| | | | llvm-svn: 53099
* For the -dealloc checker, check the LangOptions to determine whether or not ↵Ted Kremenek2008-07-033-7/+22
| | | | | | the code is compiled with GC. llvm-svn: 53098
* -Added bool feature.Argyrios Kyrtzidis2008-07-031-19/+3
| | | | | | | | -Set "Named Casts" feature to partial parser/sema support because reinterpret_cast is not properly implemented. -Removed "Virtual functions" feature because it is already covered by "Class definitions". -Removed "Templates" because we should either list *all* missing/supported features or just list the features with some support. Mentioning just a few missing features without listing all of them makes little sense. llvm-svn: 53095
* -Change slightly the link to cxx_status.html of the home page.Argyrios Kyrtzidis2008-07-032-7/+4
| | | | | | -Add a link to cxx_status.html from get_involved.html/"Open Projects". llvm-svn: 53094
* Updated latest checker build.Ted Kremenek2008-07-031-1/+1
| | | | llvm-svn: 53084
* Have BugReporter::getCFG and BugReporter::getLiveVariables returns pointers ↵Ted Kremenek2008-07-034-26/+40
| | | | | | | | instead of references, because they can both fail on functions we cannot construct full CFGs for yet. llvm-svn: 53081
* Updated latest checker build.Ted Kremenek2008-07-031-1/+1
| | | | llvm-svn: 53080
* Update Xcode project.Ted Kremenek2008-07-031-0/+4
| | | | llvm-svn: 53076
* Added static analysis check to see if a subclass of NSObject implements ↵Ted Kremenek2008-07-037-30/+170
| | | | | | -dealloc, and whether or not that implementation calls [super dealloc]. llvm-svn: 53075
* Shuffle things around in preparation for integrating Eli's constant evaluator.Anders Carlsson2008-07-036-38/+86
| | | | llvm-svn: 53074
* Make APValue an APSInt.Anders Carlsson2008-07-031-50/+53
| | | | llvm-svn: 53072
* new testcaseChris Lattner2008-07-031-0/+4
| | | | llvm-svn: 53071
* Fix PR2252: don't warn on negating an unsigned value ever, and don't emitChris Lattner2008-07-032-7/+8
| | | | | | 'integer constant is so large that it is unsigned' warning for hex literals. llvm-svn: 53070
* Fix PR2020 by recovering by defining an anonymous enum, instead of recoveringChris Lattner2008-07-032-21/+29
| | | | | | by filling in the body of a union with enum constants. llvm-svn: 53069
* Update test case with new clang arguments.Ted Kremenek2008-07-021-1/+1
| | | | llvm-svn: 53056
* Update test case: simply running "clang -checker-simple" doesn't invoke the ↵Ted Kremenek2008-07-021-1/+3
| | | | | | dead store checker anymore. We need "-warn-dead-stores" as well. llvm-svn: 53055
* Unify the code path for the Dead Stores checker to always use the ↵Ted Kremenek2008-07-025-119/+96
| | | | | | BugReporter interface. llvm-svn: 53054
* ccc-analyzer now dispatches the options "-checker-cfref" and ↵Ted Kremenek2008-07-022-9/+8
| | | | | | "-warn-dead-stores" to clang instead of just "-checker-cfref". llvm-svn: 53053
* Refactored some of the BugReporter interface so that data such as the ↵Ted Kremenek2008-07-028-76/+136
| | | | | | | | ASTContext&, PathDiagnosticClient*, can be provided by an external source. Split BugReporter into BugReporter and GRBugReporter so checkers not based on GRExprEngine can still use the BugReporter mechanism. llvm-svn: 53048
* GRExprEngine now expects the LiveVariables information to be provided by its ↵Ted Kremenek2008-07-023-11/+9
| | | | | | | | creator. This allows an optimization in AnalysisConsumer where the same LiveVariables information is used between multiple analyses. llvm-svn: 53046
* Added version of CheckDeadStores that accepts a client-provided ↵Ted Kremenek2008-07-023-1/+12
| | | | | | | | LiveVariables object. Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager. llvm-svn: 53043
* Added method "HandleTranslationUnit" to ASTConsumer. This is called by ↵Ted Kremenek2008-07-022-1/+6
| | | | | | ParseAST when all of the ASTs in a translation unit have been built. llvm-svn: 53042
* Moved logic for -dump-cfg and -view-cfg into AnalysisConsumer.Ted Kremenek2008-07-025-102/+23
| | | | | | Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump). llvm-svn: 53041
* Move -dump-live-variables logic to AnalysisConsumer.Ted Kremenek2008-07-025-39/+28
| | | | llvm-svn: 53039
* Migrate CheckerConsumer diagnostics to the new AnalysisConsumer interface.Ted Kremenek2008-07-022-100/+42
| | | | | | Remove CheckerConsumer. llvm-svn: 53029
* Move logic for "-checker-simple" to the new AnalysisConsumer interface.Ted Kremenek2008-07-025-63/+33
| | | | llvm-svn: 53028
* add a description of what sema and parser mean, add C++ style casts.Chris Lattner2008-07-021-1/+14
| | | | llvm-svn: 53027
* Fix typo in test case.Ted Kremenek2008-07-021-1/+1
| | | | llvm-svn: 53024
* Add note that most of C++ is not supported.Argyrios Kyrtzidis2008-07-021-1/+2
| | | | llvm-svn: 53023
* Set CSS defaults for tables.Argyrios Kyrtzidis2008-07-021-20/+23
| | | | llvm-svn: 53022
* Drop 'C++' from the features; suggestion by Holger Schurig.Argyrios Kyrtzidis2008-07-021-5/+5
| | | | llvm-svn: 53020
OpenPOWER on IntegriCloud